Handle newlines (\r\n) in JSON by replacing them with a space, or they will break CSV parsing
Make it write to terminal when no file is specified
Add support for UTF-8 characters