code: func ContentConfig() rest.ContentConfig {
  	// TODO: scheme.Codecs here should become "pkg/apis/server/scheme" which is the minimal core you need
  	// to talk to a kubernetes server
  	jsonInfo, _ := runtime.SerializerInfoForMediaType(scheme.Codecs.SupportedMediaTypes(), runtime.ContentTypeJSON)
  
  	jsonInfo.Serializer = dynamicCodec{}
  	jsonInfo.PrettySerializer = nil
  	return rest.ContentConfig{
  		AcceptContentTypes:   runtime.ContentTypeJSON,
  		ContentType:          runtime.ContentTypeJSON,
  		NegotiatedSerializer: serializer.NegotiatedSerializerWrapper(jsonInfo),
  	}
  }
docs: // ContentConfig returns a rest.ContentConfig for dynamic types.
  // Deprecated only used by test code and its wrong