fixed app and 1 test in test_jsonrpc - still fixing 2 others