Remove duplicate dictionaries