pig to mongo working