This function needs to correspond to this:
        https://github.com/saltstack/salt/blob/develop/salt/returners/redis_return.py#L88

def _write(self, ret):
        """
        This function needs to correspond to this:
        https://github.com/saltstack/salt/blob/develop/salt/returners/redis_return.py#L88
        """
        self.redis.set('{0}:{1}'.format(ret['id'], ret['jid']), json.dumps(ret))
        self.redis.lpush('{0}:{1}'.format(ret['id'], ret['fun']), ret['jid'])
        self.redis.sadd('minions', ret['id'])
        self.redis.sadd('jids', ret['jid'])