fixed recent const changes for ObjectVariantMapper