Support both the `_render_option_json` and the newer `_render_with_renderer_json` methods