prettify the input json file