Make use of go-simpleson library to parse JSON; various fixes
Merge branch 'fixed'