private function getSerializerValSourceExtBasedOn(ValueSourceExtension $ext)
    {
        return new SerializerValueSourceExtensionImpl(
            $ext->getMapper(),
            $ext->getSupportedValueSourceClass(),
            $ext->getUniqueExtensionId()
        );
    }