docs: public static String quote(String s, boolean flag) {
          if (s == null)
              return "null";
          //PM21395 starts
          if (flag){
              s = s.replaceAll("&quot;", "\"");
          }
          //PM21395 ends
  
          return '"' + escape(s) + '"';
      }