code: @Deprecated
  	public <T> T readObject(byte [] data, Class<T> clazz) {
  		return readDocument(data, clazz).get();
  	}
docs: Converts raw data input into requested target type.
  @param data raw data
  @param clazz target object
  @param <T> type
  @return converted object
  @throws RuntimeException in case conversion fails