Typecast data to JObject if it an array
Merge pull request #4 from Achal-Aggarwal/non-object

Typecast data to JObject if it an array