serialize

abstract fun serialize(): Map<String, JsonPrimitive>

Returns JSON fields to be serialized into the config file (see KernelJupyterParams). Needs to be symmetric with JupyterServerRunner.tryDeserializePorts implementation.