reformat form creation to reflect new json format