add 'to_hash' method for ObjectifiedHash

close #26