code: @Override
      public String serialize(Object obj) throws JsonMarshallingException {
          try {
              return serializeChecked(obj);
          } catch (Exception e) {
              throw new JsonMarshallingException(e);
          }
      }
docs: Serialize the given Java object into JSON string.