added a getKeywords helper function for GatingSets