make parseJSON to handle top level JSON arrays

It seems that parseJSON can't handle top level JSON arrays, forcing us to use a map to store a simple collection:
```
{"dummy": ["1", "2","3"]}
```




Super nitpick but just a space by the `:=` would be cool :)