Set operations on dictionaries