Ever opened a codebase where a single JSON payload could arrive in 17 different shapes depending on the phase of the moon? Over the last few years my contracts have involved working with legacy code in one way or another. Outdated software, missing documentation, inconsistent data structures and the occasional big ball of mud. I originally planned to write a single article summarising the tools, p