typing metadatasets to LinksetDataet and AggregateDataset