Here is a golang play for a simple marshaling problem. It’s not actually a problem it’s just that I was bothered by having to marshal/unmarshal structs or interfaces when I wanted to do the same to a simple map[string]string.