protected function getDataTransformer($object, string $to, array $context = []): ?DataTransformerInterface
    {
        foreach ($this->dataTransformers as $dataTransformer) {
            if ($dataTransformer->supportsTransformation($object, $to, $context)) {
                return $dataTransformer;
            }
        }

        return null;
    }