src/vs/workbench/contrib/terminal/browser/terminalEditorSerializer.ts/TerminalInputSerializer/_toJson
class TerminalInputSerializer:	private _toJson(instance: ITerminalInstance): ISerializedTerminalEditorInput {
		return {
			id: instance.persistentProcessId!,
			pid: instance.processId || 0,
			title: instance.title,
			titleSource: instance.titleSource,
			cwd: '',
			icon: instance.icon,
			color: instance.color,
			resource: instance.resource.toString(),
			hasChildProcesses: instance.hasChildProcesses
		};
	}