BabelEdit should keep the used JSON format. How can I configure this?

Go to ToolbarConfiguration: In the dialog, you'll find some settings that affect the output format. The available options may vary depending on the selected framework:

configuration dialog