Node.js generation for MongoConfig