Repair broken JSON. Fix malformed, truncated or loosely-formatted JSON (single quotes, trailing commas, cut-off output) into valid parseable JSON. Recover LLM output that failed to parse.