Indeed. XML should be compared with YAML, not JSON.
While they equal each other in complexity, YAML does not even have namespaces )