fix whitespace
use JSONRPCEngine, synthetic data
make script runnable from anywhere
Merge branch 'jsonrpc_test_fix'