Expose to_h method for paymill objects