Create map of data for mongo aggregation framework