Revert "CAS-6692 remove all the temporary workarounds necessary until CAS-13683 is done, and don't mess up test_tclean.py in the process, recommit after reworking SummaryMinor to be a standard dict"
This reverts commit 6028a2a15dcf24ce7cba6cb34833024897db02f5.