Excess "}" at the end of the JSON format result

The trained model returns the data in JSON format just as I wanted. Unfortunately, it persistently adds the character “}” at the end of the data, making the JSON invalid. What’s going on? How can I “untrain” it from doing that?

Instead of wasting tokens on it, just receive what it gives you, check if it comes in an understandable form, adapt it, and use it.

Once again, it’s like everyone is expecting GPT to do the work. That’s a constant bad perspective on how to use “AI”. Should be seen as s “booster” not a “doer”.