[tor-commits] [ooni-probe/master] Refactor the logic for dumping the YAML reports of packets.