Refs #10481 Use a base class for MetadataFormat, fix circular import: get_formatted_names