Hash#each_key instead of Hash#keys.each. Faster code.

More info at https://github.com/JuanitoFatas/fast-ruby#hasheach_key-instead-of-hashkeyseach-code