'Parse tags from the provided element and return a dictionary with
key/value pairs.
:rtype: ``dict``'

def _get_resource_tags(self, element):

    tags = {}
    tag_set = findall(element=element, xpath='tagSet/item', namespace=NS)
    for tag in tag_set:
        key = findtext(element=tag, xpath='key', namespace=NS)
        value = findtext(element=tag, xpath='value', namespace=NS)
        tags[key] = value
    return tags
