edits to json files