traces: record JSON and PCAP in the same document.