json-rpc services. initial version.