Integrate the map-reduce generator in map-reduce jobs