github.com/nqd/flat (go): Package flat flattens a nested Golang map into a one level deep map. Flat also supports unflatten, turn a one level map into nested one.  You can flatten a Go map  and a reverse with unflatten
Keywords: flat|flatten|golang|json|struct