Convert the description to JSON format following the network protocol.
nlohmann::json toJson()
The JSON document