Even there, the schemas and validation are very lightweight compared to what XML can do.
As I usually say, JSON is for relatively free-form, dynamically typed languages, but if one side is uses a statically typed language, XML is probably the better choice.