It seems that all json files generated by `zat translate to_json` have the newline problem.
Maybe I should send a PR to correct zat at some point.