driver: add getMetadata to Components which have updateMetadata()

normally every component supporting updateMetadata should also provide getMetadata().

In particullar, that's handy for debugging.