code: def transform_metadata(blob):
  	
  	o = {}
  	for e in blob:
  		i = e[u'id']
  		o[i] = e
  	return o
docs: Transforms metadata types about channels / users / bots / etc. into a dict
  	rather than a list in order to enable faster lookup.