JacSimilarity.py - converted keylist from set to type