              'child': child_serializer,
          }
          if allow_empty is not None:
              list_kwargs['allow_empty'] = allow_empty
          list_kwargs.update(dict([
              (key, value) for key, value in kwargs.items()
              if key in LIST_SERIALIZER_KWARGS
          ]))
          meta = getattr(cls, 'Meta', None)
          list_serializer_class = getattr(meta, 'list_serializer_class', ListSerializer)
          return list_serializer_class(*args, **list_kwargs)
 
</s> remove         ]))
 </s> add         }) </s> remove         missing = dict([
            (field_name, self.missing_message)
 </s> add         missing = {
            field_name: self.missing_message </s> remove         ret = dict([
            (key, _force_text_recursive(value))
 </s> add         ret = {
            key: _force_text_recursive(value) </s> remove         ])
 </s> add         } </s> remove         return dict([
            (six.text_type(key), self.child.run_validation(value))
 </s> add         return {
            six.text_type(key): self.child.run_validation(value)
        list_kwargs.update({
            key: value for key, value in kwargs.items()
              'child': child_serializer,
          }
          if allow_empty is not None:
              list_kwargs['allow_empty'] = allow_empty
        list_kwargs.update({
            key: value for key, value in kwargs.items()
        list_kwargs.update({
            key: value for key, value in kwargs.items()
              if key in LIST_SERIALIZER_KWARGS
          ]))
          meta = getattr(cls, 'Meta', None)
          list_serializer_class = getattr(meta, 'list_serializer_class', ListSerializer)
          return list_serializer_class(*args, **list_kwargs)
keep keep keep keep replace replace keep keep keep keep keep
 Replaced all dict and set conversions from lists to dict and set literals. 
rest_framework/serializers.py