Handling of double quotes in field contents for CSV generation