Yes, tweets escape newlines with \n, so the JSON you get from the API should be something like:
"text":"multi\nline\ntweet"
If you’ve saved those in a file, and ended up with:
"text":"multi
line
tweet"
You’ll need to fix that somehow (replace any newline character with \n if it’s in the “text” field).