json: fix array member types and indent