That's a way. A way that, IMHO, vastly diminishes its expressive power on the reader's side, which I do not consider a very good thing. Most solutions to the issue are of this nature.
Consider serialized JSON already has a natural ordering, which is thrown away for some reason (probably parsing convenience).