"python, checksum of a dict","from functools import reduce