Elegant way to transform a list of dict into a dict of dicts,{i.pop('name'): i for i in listofdict}