Define to_h and alias as to_hash