code: public static byte[] asBytesUnchecked(final Object value) {
      try {
        return OBJECT_MAPPER.writeValueAsBytes(value);
      } catch (JsonProcessingException e) {
        throw new RuntimeException(e);
      }
    }
docs: Serialize an object to json. Use when object is expected to be json serializable.
  
  @param value The object to serialize.
  
  @return The byte array for the given object.
  
  @see #asBytes(Object)