-j for history to convert to json.
showtx with -j json parseable output switch.