The judgment debtor, if appearing, shall be examined on oath as to his or its property and ability to pay; provided, however, if the debtor is a corporation the person examined shall be its president, treasurer, cashier or other officer or agent in charge of the payment of debts, or if the debtor is a trust with transferable shares the person examined shall be any trustee or agent in charge of pay