better Mongoose to JS object conversion