Reformatted json files after script execution