code: func TupleToMap(args []interface{}) (map[interface{}]interface{}, error) {
  	if len(args)%2 != 0 {
  		return nil, errors.New("Odd number of elements in args for TupleToMap")
  	}
  	m := make(map[interface{}]interface{})
  	var key interface{}
  	for i, o := range args {
  		if i%2 == 1 {
  			m[key] = o
  		} else {
  			key = o
  		}
  	}
  	return m, nil
  }
docs: // TODO: handle odd number of elements in args