fn deserialize_cbor_compiler<'de, D>(
    deserializer: D,
) -> Result<Option<CborCompilerVersion>, D::Error>
where
    D: serde::Deserializer<'de>,
{
    deserializer.deserialize_any(CborCompilerVersionVisitor)
}
Custom deserializer for CborCompilerVersion so it's properly deserialized with ciborium.
core/lib/types/src/contract_verification/contract_identifier.rs