public function convertFrom($source, $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null)
    {
        $activationHelper = $this->objectManager->get(ActivationHelper::class);

        $innerConverter = $this->objectManager->get(ImageInterfaceArrayPresenter::class);
        if ($activationHelper->isLegacyBackendEnabled()) {
            // Old UI is active so we need to deliver the JSON as string.
            $innerConverter = $this->objectManager->get(ImageInterfaceJsonSerializer::class);
        }

        return $innerConverter->convertFrom($source, $targetType, $convertedChildProperties, $configuration);
    }