Allow printing of metadata values with '--key KEY':

Print a key from the metadata file. the key may be nested
arbitrarily deep.

Pass --type=<int|default|raw> to raise an error if the requested
value does not conform to the type.