SERVER-11611: convert mapreduce to new collection encapsulation