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"]}
```