And this is why I was asking the question in the first place.
Not that I'm a fan of JSON, but I fail to conceive anything better as a general purpose protocol.