formatting fixes
fix #6900, hashing dicts