add convert_xform_to_json and expose this intermediate step
Merge pull request #80 from dimagi/convert_xform_to_json

add convert_xform_to_json and expose this intermediate step