code: def xml_str_to_dict(s):
      
      xml = minidom.parseString(s)
      return pythonzimbra.tools.xmlserializer.dom_to_dict(xml.firstChild)
docs: Transforms an XML string it to python-zimbra dict format
  
      For format, see:
        https://github.com/Zimbra-Community/python-zimbra/blob/master/README.md
  
      :param: a string, containing XML
      :returns: a dict, with python-zimbra format