update shutdown function to work with new dict structs
update shutdown function to work with new dict structs

kbase/narrative,pranjan77/narrative,briehl/narrative,msneddon/narrative,scanon/narrative,jmchandonia/narrative,psnovichkov/narrative,scanon/narrative,scanon/narrative,jmchandonia/narrative,rsutormin/narrative,aekazakov/narrative,briehl/narrative,psnovichkov/narrative,aekazakov/narrative,pranjan77/narrative,kbase/narrative,rsutormin/narrative,pranjan77/narrative,psnovichkov/narrative,mlhenderson/narrative,pranjan77/narrative,aekazakov/narrative,pranjan77/narrative,aekazakov/narrative,mlhenderson/narrative,briehl/narrative,psnovichkov/narrative,psnovichkov/narrative,mlhenderson/narrative,msneddon/narrative,mlhenderson/narrative,psnovichkov/narrative,pranjan77/narrative,briehl/narrative,jmchandonia/narrative,nlharris/narrative,rsutormin/narrative,nlharris/narrative,kbase/narrative,msneddon/narrative,scanon/narrative,briehl/narrative,msneddon/narrative,rsutormin/narrative,nlharris/narrative,nlharris/narrative,kbase/narrative,jmchandonia/narrative,mlhenderson/narrative,briehl/narrative,aekazakov/narrative,rsutormin/narrative,pranjan77/narrative,scanon/narrative,mlhenderson/narrative,jmchandonia/narrative,msneddon/narrative,aekazakov/narrative,nlharris/narrative,rsutormin/narrative,msneddon/narrative,msneddon/narrative,jmchandonia/narrative,briehl/narrative,kbase/narrative,jmchandonia/narrative,kbase/narrative,psnovichkov/narrative,nlharris/narrative,scanon/narrative,nlharris/narrative