Changed simplejson to json as now deprecated