fix json format of showtx

tested against simplejson package of python
sample output validated online at:
http://json.parser.online.fr/