need to to_s the key before hashing