Decode name operations in TxToJSON.

Decode name operations in TxToJSON for better results in
decoderawtransaction and friends.