First TODO ticked off. Recursive generation of format structure.
Support for array-style [] access to data.