json api now accessible via simple get calls
better error handling for json rpc calls