Make use of CacheBundle to handle the cache

And thus avoid the not-so-beautiful json cache file.