code: def makeabunch(commdct, obj, obj_i):
      
      objidd = commdct[obj_i]
      objfields = [comm.get('field') for comm in commdct[obj_i]]
      objfields[0] = ['key']
      objfields = [field[0] for field in objfields]
      obj_fields = [bunchhelpers.makefieldname(field) for field in objfields]
      bobj = EpBunch(obj, obj_fields, objidd)
      return bobj
docs: make a bunch from the object