def findKey(dict_, search):
    """Find a key in a dictionary. Uses '#text' format to help with
    the xml dictionaries.
    
    Args:
        dict_: Haystack to search for.
        search: Needle; key to search for.
    
    Returns:
        Value of dict_[search]
    """
    data = {}
    if len(dict_) > 0:
        for ret, value in dict_.items():
            if search in ret:
                if '#text' in value:
                    return value['#text']
                return value