After looking more into it, Claude DOES give the correct answer, just not in the format that it's asked, it always adds more info at the end, even when asked to just give the answer...
The best way to get JSON back is function calling.
The best way to get JSON back is function calling.