code: private static List<Parameter> convert(Map<String, Object> map) {
  		Set<Entry<String, Object>> entries = map.entrySet();
  		List<Parameter> parameters = new ArrayList<>(entries.size());
  		for (Entry<String, Object> entry : entries) {
  			if (entry.getValue() != null) {
  				parameters.add(new Parameter(entry.getKey(), entry.getValue().toString()));
  			}
  		}
  		return parameters;
  	}
docs: Convert the map into a list of parameters
  
  @param map
  the map to convert
  @return the list of parameters