code: func valuesToMap(values map[string][]string) map[string]interface{} {
  	ret := make(map[string]interface{})
  
  	for key, value := range values {
  		if len(value) > 0 {
  			ret[key] = value[0]
  		}
  	}
  
  	return ret
  }
docs: // valuesToMap converts map[string][]string to a map[string]string object