reformat json to be more Go friendly