Unify marshalling with saving.

Unify how nested associations are defined in marshalling and saving.
Having two different formats makes it harder to remember and document
the various features of the Table class.