change the JSON struct for the data to be stored