Tools for checking if an arbitrarily nested map/list matches a particular pattern. The genesis of this was as a helper in unit tests to check if JSON was being generated as expected.