move toHexString to cmd/decode.go
add tests for lzfcompressed list