use github.com/ugorji/go/codec