Transformers for mongoose toObject method