ES6 Generator support for mongoose library