use jas as json rpc server