Contents
Casts all metadata to defaultdict to support default values.
Should be called after any modifications to sample/observation metadata.