def interactor(self, geneList=None, org=None):
        """
        Supposing geneList returns an unique item.
        """
        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
Supposing geneList returns an unique item.