Ironically LLMs are actually better at processing and especially outputting correct XML than they are at JSON.