Tweak resource json loading