Gemini 2.5 structured output - "response 'ny'"

When we request anything in JSON output from the Gemini 2.5 API, the first line is always ‘ny’. Could someone help us identify the problem?

Dup of Gemini 2.5 Pro inserting random text and format tokens around json responses

Same here. Gemini 2..5. Pro Preview 03-25 Model in inserting ‘ny’ before returning a structured object. It is also inserting unwanted apostrophes. Strangely this was not happening last week with the same prompt.