sort and pretty the json file