Makes sure serial reads use bytearray