v0.16.16 Move JSON parser and formatter to a separate module.