def METHOD_NAME(self, case):
    '''
    Encapsulates the version passed to `CommCareCase.to_xml` and
    the temporary hack of re-parsing it. TODO: expose a direct etree
    encoding in casexml?
    '''
    return lxml.parse(BytesIO(case.to_xml('2.0', include_case_on_closed=True))).getroot()