Using the new method for API definition

removing the jsonrpcconfig header and all references to it.