add filter functionality to metadata export