mongodb infrastructure for node-batch