Sub out ruby 1.8 hash type for ruby 2 hash type