Add caching directive to all json responses