how to add data to json file