write out what will eventually be the JSON post body