Advanced REST Node.js interface for MongoDB with subscriptions and attachments