refactoring using github.com/ChimeraCoder/gojson