code: public static JsonRpcResponse success(JsonObject payload, JsonElement id) {
      return new JsonRpcResponse(id, null, payload);
    }
docs: Builds a new, successful response.
  
  @param payload the object to return to the user.
  @param id the identifier of the request for which this response is
  generated