Automatic REST API generation using Mongoose and Express