making change to json