Add a render_response hook, similar to render_page hook.

Allow plugins to manipulate json response as well as html.