add comments in godoc style
Refactor json2csv.go to use stringmap package