use virtuals and Schema.set('toJSON', { virtuals: true });