Mongoose to REST