Makes changes to send rate and threshold values in the JSON object