cleanup, caching resources_json