Batch insert for mongo.