code: def interactor(self, geneList=None, org=None):
          
          geneList = geneList or []
          organisms = organisms or []
  
          querydata = self.interactions(geneList, org)
          returnData = {}
          for i in querydata:
              if not returnData.get(i["symB"]["name"]):
                  returnData[i["symB"]["name"]] = {"interactions": []}
              returnData[i["symB"]["name"]]["interactions"].append(i)
          return returnData
docs: Supposing geneList returns an unique item.