code: public Map<String, String> getMap(String hashName, List<FormItem> formItems) {
  
          Map<String, String>  hash = new HashMap<String, String>();
          for(FormItem item:formItems){
              if(item.getFieldName().startsWith(hashName)){
                  String name = parseHashName(item.getFieldName());
                  if(name != null){
                      hash.put(name, item.getStreamAsString());
                  }
              }
          }
          return hash;
      }
docs: Convenience method to get parameter map in case <code>multipart/form-data</code> request was used.
  
  Returns a map parsed from a request if parameter names have a "hash" syntax:
  
  <pre>
  &lt;input type=&quot;text&quot; name=&quot;account[name]&quot; /&gt;
  &lt;input type=&quot;text&quot; name=&quot;account[number]&quot; /&gt;
  </pre>
  
  will result in a map where keys are names of hash elements, and values are values of these elements from request.
  For the example above, the map will have these values:
  
  <pre>
  { "name":"John", "number": "123" }
  </pre>
  
  @param hashName - name of a hash. In the example above, it will be "account".
  @param formItems form items retrieved from <code>multipart/form-data</code> request.
  @return map with name/value pairs parsed from request.