Generalize MetadataContainer to operate on Run rather than AbstractBuild