Should we remove this and use `deserializeHex` and `deserialize` for hex/buffers explicitly?