code: func toMap(kv ...string) map[string]string {
  	if len(kv)%2 != 0 {
  		common.Die("Expected even number of strings in toMap")
  	}
  	r := make(map[string]string, len(kv))
  	lastKey := ""
  	for i, kv := range kv {
  		if i%2 == 0 {
  			lastKey = kv
  		} else {
  			r[lastKey] = kv
  		}
  	}
  	return r
  }
docs: // toMap creates a map from passed strings. This function expects an
  // even number of strings, otherwise it will bail out. Odd (first,
  // third and so on) strings are keys, even (second, fourth and so on)
  // strings are values.