writing pcap to json file