Bulk: enclose .keys() method with list where list (from python2) expected