compare dictionaries content