Json array enabled

Enabled the app to process json file with json array as the root node. The change involves checking if the json string starts with '[' and putting the object into a jsonobject. Test included.