Implement Struct#to_h .