Never return a null metadata object. In the case that we try to rad the
metadata on anything else than a container or a data object, return an
UnsupportedOperationException.

Closes #3.