Django 1.7 compatibility. 

Replacing deprecated simplejson with json