Corrected serial output for pyserial library