json resource loading preparation