Updated read_quoted_string() method