Replace "poor man's (aka. really, really poor) JSON parser" by Jackson for the script and tx tests.

The tests semantics was unchanged. 161 lines of code removed.