enable resource loading from JSON