code: static Object quoteIfNeeded(Object source) {
          if (source instanceof String) {
              return quoteIfNeeded((String) source);
          } else {
              return source;
          }
      }
docs: Add quotes around the object iff it's not a JSON object.
  
  @param source
  @return