Flexible automatic API generation for Moongose and Express