Fixed `toJSON` for virtuals with getter and setter