adds support for json-reformat