              serializer = None
  
          parsers = []
          for parser_class in view.parser_classes:
              content = None
              renderer_class = getattr(parser_class, 'renderer_class', None)
              if renderer_class and serializer:
                  renderer = renderer_class()
                  context = renderer_context.copy()
                  context['indent'] = 4
 
</s> remove     renderer_class = UnicodeJSONRenderer
 </s> add     renderer_class = renderers.UnicodeJSONRenderer </s> remove             if obj is None and field.read_only:
                continue
 </s> add  </s> remove         if not getattr(view, 'get_serializer', None) or not any(parser.supports_html_forms for parser in view.parser_classes):
 </s> add         if not getattr(view, 'get_serializer', None) or not any(is_form_media_type(parser.media_type) for parser in view.parser_classes): </s> remove             #'sub_comment': ''
 </s> add             'sub_comment': ''
            if is_form_media_type(parser_class.media_type):
                continue
              serializer = None
  
          parsers = []
          for parser_class in view.parser_classes:
            if is_form_media_type(parser_class.media_type):
                continue
              content = None
              renderer_class = getattr(parser_class, 'renderer_class', None)
              if renderer_class and serializer:
                  renderer = renderer_class()
                  context = renderer_context.copy()
                  context['indent'] = 4
keep keep keep add keep keep keep keep keep keep
 Simplifying raw data renderering support 
rest_framework/renderers.py