docs: public static Map<String, String[]> createParameterMap(Map<String, ?> params) {
  
          if (params == null) {
              return null;
          }
          Map<String, String[]> result = new HashMap<String, String[]>();
          Iterator<?> i = params.entrySet().iterator();
          while (i.hasNext()) {
              @SuppressWarnings("unchecked")
              Map.Entry<String, ?> entry = (Entry<String, ?>)i.next();
              String key = entry.getKey();
              Object values = entry.getValue();
              if (values instanceof String[]) {
                  result.put(key, (String[])values);
              } else {
                  if (values != null) {
                      result.put(key, new String[] {values.toString()});
                  }
              }
          }
          return result;
      }