Add createDataset method taking defaultMetadata