update format in json files