code: @Override
      public String toJson(Object object) {
          return serializer.get().serialize(object).toString();
      }
docs: Converts from Object into JSON string.
  
  @param object object to convert to JSON.
  @return json string