use Schema.set('toJSON'...instead of variable attached to schema variable itself