add support for outputting fields with line breaks in csv