src/vs/workbench/services/extensions/common/rpcProtocol.ts/stringify
function stringify(obj: any, replacer: JSONStringifyReplacer | null): string {
	return JSON.stringify(obj, <(key: string, value: any) => any>replacer);
}