def att2dict(att):
    """
    Convert an Attribute list to a dictionary

    Parameters
    ----------
    att: AttributeList

    Returns
    ----------
    attribute dictionairy : {Attribute:Value}

    """
    out = {}
    attn = att.next
    while attn:
        val = attn.value
        if '\udcb5' in val:
            val = val.replace('\udcb5', 'µ')
        out[attn.name] = val
        attn = attn.next
    return out
