code: public String serialize(Object o) {
          ObjectMapper om = getObjectMapper();
          try {
              return om.writeValueAsString(o);
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
docs: Serialize the specified object, such as a {@link Transform}, {@link Condition}, {@link Filter}, etc<br>
  <b>NOTE:</b> For lists use the list methods, such as {@link #serializeTransformList(List)}<br>
  <p>
  To deserialize, use the appropriate method: {@link #deserializeTransform(String)} for example.
  
  @param o Object to serialize
  @return String (json/yaml) representation of the object