title: Django: Serialize to JSON a dictionary with items that can include querysets
body: <p>I'm sending a JSON object (component_list is a QuerySet) in this way:</p>
  
  <pre><code>data = serializers.serialize('json', component_list)
  return HttpResponse(data, content_type='application/json')
  </code></pre>
  
  <p>However I want to fill more information like this:</p>
  
  <pre><code>data = {}
  data['ok'] = True
  data['component_list'] = serializers.serialize('json', component_list)
  return HttpResponse(json.dumps(data), content_type='application/json')
  </code></pre>
  
  <p>But it doesn't work since serializers.serialize('json', component_list) is already a json structure and I'm trying to make it json again with json.dumps.</p>
  
  <p>How can I solve this?</p>