A way to expose REST-like actions for a MongoDB Mongoose model