initial add of writeJSON.go