Parse string from serial