sml: fix ODB pragma generation which got borked with =ptree= change
sml: rename tags to meta-data

we've got far too many "tags" running around. container is now called
meta-data, keys are now tags.
sml: refactor classes around meta-data to make names slightly clearer