title: In Django loaddata it throws errors for json format but work properly for yaml format, why?
body: <p>In order to learn how to import initial data in database I created models as,</p>
  
  <pre><code>from django.db import models
  
  class Person(models.Model):
      first_name = models.CharField(max_length=30)
      last_name = models.CharField(max_length=30)
  </code></pre>
  
  <p>after that, I use fixtures in .json format as given below,</p>
  
  <pre><code>[
      {
          "model": "myapp.person",
          "pk": 1,
          "fields": {
              "first_name": "John",
              "last_name": "Lennon"
          }
      },
      {
          "model": "myapp.person",
          "pk": 2,
          "fields": {
              "first_name": "Paul",
              "last_name": "McCartney"
          }
      }
  ]
  </code></pre>
  
  <p>It throws error on loaddata </p>
  
  <pre><code>File "C:\Python27\lib\site-packages\django\core\serializers\python.py", line 96, in Deserializer
  
  Model = _get_model(d["model"])
  
  django.core.serializers.base.DeserializationError: Problem installing fixture 'I:\DJANGO\library\myapp\fixtures
  \bookdata.json': string indices must be integers
  </code></pre>
  
  <p>But when I use fixture in YAML format as given below,</p>
  
  <pre><code>- model: myapp.person
    pk: 1
    fields:
      first_name: John
      last_name: Lennon
  - model: myapp.person
    pk: 2
    fields:
      first_name: Paul
      last_name: McCartney
  </code></pre>
  
  <p>It works like a charm.</p>
  
  <p>Now I am confused what was wrong as whole things are just copied from their documentations.
  I am using <strong>windows 32bit, Django 1.9, python 2.7.</strong> </p>