Write spreadsheet file from JSON to CSV - no line break

Assume the line breaks are there it does just not display them correctly as you seem to be using Windows. Linux and Windows do line breaks differently.
Did you try to open the file in something like Excel or Google Sheets? Imagine there everything will be fine.