Fixed a bug in BytesMarshallableSerializer