def METHOD_NAME(self, xform):
    builder = SurveyElementBuilder()
    sss = builder.create_survey_element_from_json(xform.json)
    xform.xml = sss.to_xml()
    xform.mark_start_time_boolean()
    xform.save()