Switch redis to mongo