EventStoreLayer: Enums could be deserialized if unknown type too.