If you are accessing nested data, look at the docs:
https://docs.inductiveautomation.com/display/DOC80/Scripting+Data+Source#ScriptingDataSource-NestedQueries
If you want to construct nested data, look at this topic: