public function unserializePageSnapshotData(PageSnapshotInterface $pageSnapshot, $unserializeTranslations = true)
    {
        $context = new PageSnapshotDeserializationContext();
        $context->setDeserializeTranslations($unserializeTranslations);

        return $this->serializer->deserialize($pageSnapshot->getVersionedData(), $pageSnapshot->getResourceName(), 'json', $context);
    }