[High-performance-network] [PATCH 184/189] telemetry: fix escaping of invalid json characters