Instead of rendering `@response.docs` directly, I'd add (at least as an option) the ability to pass an array of documents in.