code: @NotNull
      public static <T> T deserialize(@NotNull final DeserializerRegistry registry, @NotNull final SerializedData data) {
          Contract.requireArgNotNull("registry", registry);
          Contract.requireArgNotNull("data", data);
          final Deserializer deserializer = registry.getDeserializer(data.getType(), data.getMimeType());
          return deserializer.unmarshal(data.getRaw(), data.getType(), data.getMimeType());
  
      }
docs: Tries to find a deserializer for the given data block.
  
  @param registry
  Registry with known deserializers.
  @param data
  Persisted data.
  
  @return Unmarshalled event.
  
  @param <T>
  Expected type of event.