json-rpc-cpp improved config method