--fixed incorrect parse and serialize of bytes field

way to fix work with bytes field in proto