use to_hash not to_h
drop support for 1.8.7