start of csv string decoding