Insulating the roof of the workshop

Unlike the roof of a home where you will find a 2×8 or 2×12, TuffShed builds their roof with 2×4. Given that the city is requiring me to use R-38 type insulation, the 2×4 joists pose a real challenge because the insulation is 8″ thick. Solving that problem took a bit of trial, error and research before I figured out the correct and clean solution to get it done.