def METHOD_NAME(item, index, libvirtxml):
    """Convert a dictionary into a tag + attributes"""
    del index           # not used
    del libvirtxml      # not used
    if not isinstance(item, dict):
        raise xcepts.LibvirtXMLError("Expected a dictionary of host "
                                     "attributes, not a %s"
                                     % str(item))
    return ('source', dict(item))  # return copy of dict, not reference