RPC: Fix gettransaction output format