using a python dictionary as a key (non-nested),frozenset(list(a.items()))