jsonw: add SetValueAtPath method

Plus some gofmt changes.