MDL-52568 core_cohort: added ability to return all cohorts in WS