Modify to json file