Implement filtering of clinical data export

The implementation is not yet wired up to the controller.
Add new highdim metadata to the metadata service/controller