fixes a bug when calling $json on a array of a type defined directly on the key
0.0.13