ruby 1.9.3 compat ... to_h does not exist there