Merge map_reduce_spec