Doens't work when JSON starts with array

Hello, try to reformat a simple file with `[{}]` and it fails. In my case I receive JSON containing an array of hashes... something like `[{ "foo" : "bar" }, { "foo" : "baz" }]`