[tor-commits] [ooni-probe/master] Refactor to use template methods