tools: Unbreak many tools

Many tools were broken after the recent hash-table refactorings, fix
them and ensure they won't silently break again.
ff79b87fa0LemonBoy committed on 6/13/2021, 7:25:18 PM· committed by Andrew Kelleyparent37f36da
5 files changedLine totals unavailable