adding a writeJsonErr
printing error properly
go fmt-ing
grouping imports
grouping imports
go fmt-ing again