Fix #1 Only patch Rails renderer instead of all base classes.
This avoids to_json recursive call when JSON is used.