use ruby 1.8 hash format for compatibility
Merge pull request #562 from s01ipsist/restore_ruby_187

use ruby 1.8 hash format for compatibility