edits to json