added schema options for virtuals, toObject and toJSON with transforms, few fixes