docs: public static Map<String, String[]> getParameterMapFromJSON(JSONObject params) {
  
          Map<String, String[]> result = new HashMap<String, String[]>();
          Iterator<String> itKeys = params.keys();
          while (itKeys.hasNext()) {
              String key = itKeys.next();
              JSONArray paramValue = params.optJSONArray(key);
              result.put(key, new String[paramValue.length()]);
              for (int i = 0, l = paramValue.length(); i < l; i++) {
                  result.get(key)[i] = paramValue.optString(i);
              }
          }
          return result;
      }