def xmltolist(xml, element):
    """Takes an XML object, iterates on the specified element, and returns a list of dictionaries with the element's
    child tag and text elements."""
    element_list = []
    for i in xml.iter(element):
        i_dict = {}
        for e in i.iter():
            i_dict[e.tag] = e.text
        element_list.append(i_dict)
    return element_list