To take a stab in the dark.
JSON and xml are both data representation formats, but the code snippets in the article seem more like a declarative language.
You could make a declarative language using JSON semantics, but maybe they wanted something more bespoke.
it’s also super duper easy to write an s-expression parser