docs: public static String[] propertiesToArgs(Map<String,Object> properties)
      {
          if (properties == null)
              return null;
          String[] rgArgs = new String[properties.size()];
          int i = 0;
          for (String strKey : properties.keySet())
          {
              Object strValue = properties.get(strKey);
              rgArgs[i++] = strKey.toString() + '=' + strValue.toString();
          }
          return rgArgs;
      }