Adding support for toObject options for getters and virtuals