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
use 1.8 hash format in test
Merge pull request #563 from s01ipsist/restore_ruby_187

use 1.8 hash format in test