Express middleware for generating RESTful API on Sequelize