RPC: merge gettransaction output format fixes