code: public static String escapeString(String data) {
      return StringUtils.escapeString(data, StringUtils.ESCAPE_CHAR, 
                                      charsToEscape);
    }
docs: Escapes the string especially for {@link JobHistory}