Data Explorer: \n is replaced with space in RAW post field output

Are you retrieving the query as csv (I think that can’t work) or json (which can support having me lines

And unless you are trying to get a bunch of topics at once, you might just use direct api queries, though paging can make that complicated.