Steps to reproduce:
- Create a discovery item.
- Choose key vmware.datastore.discovery.
Returns old JSON format.
Return new JSON format.
According to the documentation: "Built-in discovery keys have been updated to return an array of LLD rows at the root of JSON document."
Workaround for Preprocessing:
If you want to apply preprocessing, you have to catch this case so that you can access the elements as usual.