--fixed incorrect parse and serialize of bytes field