first working version of async json rpc service