Fix issue with Django 1.5 no longer using simplejson for serialisation, causing it to fail