Show input amounts and fees in TxToJSON.

In TxToJSON (decoderawtransaction / getrawtransaction), show input
amounts of transactions as well as fees for better checking of
correctness.