Add caching of json_pointer compiles.