T serializedContent = converterFactory.getConverter(byte[].class, expectedRepresentation)
.convert(serializedBytes);
return new SimpleSerializedObject<T>(serializedContent, expectedRepresentation,
typeForClass(object.getClass()));
} catch (JsonProcessingException e) {
throw new SerializationException("Unable to serialize object", e);
}
}