code: public Map<String, Object> toMap(List<QueryParameters> paramsList) {
          Map<String, Object> result = null;
  
          Iterator<QueryParameters> iterator = paramsList.iterator();
  
          // skipping header
          if (iterator.hasNext() == true) {
              iterator.next();
          }
  
          if (iterator.hasNext() == true) {
              result = this.toMap(iterator.next());
          } else {
              result = new HashMap<String, Object>();
          }
  
          return result;
      }
docs: {@inheritDoc}