fix: caching JSON definition