docs: public static String propertiesToString(Map<String,Object> map)
      {
          String strProperties = null;
          Properties properties = Utility.mapToProperties(map);
          ByteArrayOutputStream baOut = new ByteArrayOutputStream();
          try   {
              properties.store(baOut, PROPERTIES_COMMENT);
              byte[] rgBytes = baOut.toByteArray();
              ByteArrayInputStream baIn = new ByteArrayInputStream(rgBytes);
              InputStreamReader isIn = new InputStreamReader(baIn); // byte -> char
              char[] cbuf = new char[rgBytes.length];
              isIn.read(cbuf, 0, rgBytes.length);
              if (cbuf.length == rgBytes.length)
                  strProperties = new String(cbuf);
          } catch (IOException ex)    {
              ex.printStackTrace();
          }
          return strProperties;
      }