Make special chars in hashes compare correctly