Try importing the built-in json module first, for Django 1.5+ compatibility.