[REST] JSON output: remove block infos from tx details if it is nested in block
[REST] JSON output: remove block infos from tx details if it is nested in block

(cherry picked from commit 932ef50f775b5f514941e6ee9dc91d0dcf89321f)

reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin