title: DJango: formatting json serialization
body: <p>I have the following DJango view</p>
  
  <pre><code>def company(request):
      company_list = Company.objects.all()
      output = serializers.serialize('json', company_list, fields=('name','phonenumber','email','companylogo'))
      return HttpResponse(output, content_type="application/json")
  </code></pre>
  
  <p>it result as follows: </p>
  
  <pre><code>[{"pk": 1, "model": "test.company", "fields": {"companylogo": null, "phonenumber": "741.999.5554", "name": "Remax", "email": "home@remax.co.il"}}, {"pk": 4, "model": "test.company", "fields": {"companylogo": null, "phonenumber": "641-7778889", "name": "remixa", "email": "a@aa.com"}}, {"pk": 2, "model": "test.company", "fields": {"companylogo": null, "phonenumber": "658-2233444", "name": "remix", "email": "b@bbb.com"}}, {"pk": 7, "model": "test.company", "fields": {"companylogo": null, "phonenumber": "996-7778880", "name": "remix", "email": "a@aba.com"}}]
  </code></pre>
  
  <p>my questions:
  1. can i control the order of the fields
  2. can i change the name of the fields
  3. I was expecting to see the result with indentation in the browser i.e. instead of one long line to see something like this:</p>
  
  <pre><code>[
    {
       "pk": 1, 
       "model": "test.company", 
       "fields": 
       {
           "companylogo": null, 
           "phonenumber": "741.999.5554", 
           "name": "Remax", 
           "email": "home@remax.co.il"
       }
    }, 
    {
       "pk": 4, 
       "model": "test.company", 
       "fields": 
       {
          "companylogo": null,  
          "phonenumber": "641-7778889", 
          "name": "remixa", 
          "email": "a@aa.com"
       }
    }, 
    ....
   }
  </code></pre>
  
  <p>]</p>