Return JSON from cache for search results method.
Add before method for all jobs search results to set headers for JSON response.
Remove obsolete cruft in before. Set headers for JSON data.