Serializes the built dialog to a JSON string. Users can call build if they need the JsonObject itself.
JSON string representation