Unpack an XML string from AniDB API.

def unpack_xml(text) -> ET.ElementTree:
    """Unpack an XML string from AniDB API."""
    etree: ET.ElementTree = ET.parse(io.StringIO(text))
    _check_for_errors(etree)
    return etree