I am designing an API for my webapp.
I was thinking to support only JSON responses (not XML) because more streamlined.
But I have just bumped to this XML:
JSON is more uniform than XML and doesn't distinguish between plain-text attributes and hierarchical contents. The natural representation for your example would be
[ {"id": 123, "private": 0, "archived": 0, "order": 1, "name": "Shopping"} ]
This is still more compact than the respective XML.