saveCohortSubsetDefinition function

Save cohort subset definitions to json