code: func MapKeyValues(keyvals []interface{}, fn func(interface{}, interface{}) (interface{}, interface{})) []interface{} {
  	mappedKeyvals := make([]interface{}, len(keyvals))
  	for i := 0; i < 2*(len(keyvals)/2); i += 2 {
  		key := keyvals[i]
  		val := keyvals[i+1]
  		mappedKeyvals[i], mappedKeyvals[i+1] = fn(key, val)
  	}
  	return mappedKeyvals
  }
docs: // Maps key values pairs with a function (key, value) -> (new key, new value)