def match_new(new_list, old_list):
    ids = dict((item['id'], item) for item in new_list)
return [ids[item['id']] for item in old_list if item['id'] in ids]
Match set of dictionaries. Most elegant solution. Python