Adding ability to manipulate the structure of the JSON before POSTing to the api