How to take care of '\n'

So I have a tool where the output is present in different lines. Now in JSON format, for every new breake line, we have ‘\n’ .
As I out this to my platform, I want the output to be present in separate lines.
How can I achieve this? Can i make some changes in the API or Tool design or do indeed to change it in the front-end?

My platform is Writopanda.ai. It’s a content generation platform.
I am using python and FastAPI in my backend and ReactJs for the front end.

I tried doing this, but now the \n is replaced by
in my postman response. Do you think I should change it in my prompt design in playground?