Make gettransaction return a btcjson GetTransactionResult type