fix django deprecated message about JSON