using the bincode crate, which uses UTF-8 under the hood and also prefixes the length of the string in big endian. This patch introduces changes to implement the same