Return ehcache search results in JAX-RS as a JSON array.