RepairJSON takes a potentially malformed JSON string output from LLMs and
attempts to repair it into a valid JSON string. It returns the repaired JSON
string or an error if the input cannot be repaired.
RepairJSONWithLog takes a potentially malformed JSON string output from LLMs
and attempts to repair it into a valid JSON string, while also returning logs
of the repair process.