Generate documents automatically with the tests for JSON-RPC