minor cleanup to ObjectVariantMapper::MakeCommonSerializer... code