JSON object without "objects" property throws "TypeError: Cannot read property 'length' of null" - Should now be fixed.
Add unit test.
Closes issue #1235
Merge pull request #1325 from Kienz/issue-1235

JSON object without "objects" property throws "TypeError: Cannot read property 'length' of null"