RPC: gettransaction output format fixes