updated config.py to use json
updated centinel.py to pass the params dict
updated the client for the json interface
updated the backend for the json interface