Explore using [json.Token](https://golang.org/pkg/encoding/json/#Decoder.Token) to better get the integer keys of the array.