Work in progress: refactoring away node name.

Part way though simplifying the storage of meta data to remove
dependency on node names, so that it can be anonymised. Have prototyped
compression and am part way through a rough refactor.