Elegant way to transform a list of dict into a dict of dicts,"dict((d['name'], d) for d in listofdict)"