Support the _render_with_renderer_json method added in rails 4.2.0