python remove duplicate values from list of dictionaries