refactor importCriteria during exportCriteria
add util around transforming criteria dumps