start of Cyrus code for a restricted view of licenses query
cut-out not delete; listCopyCutOutHash ropey implementation of doing it over a list
cut out code (in both senses)