Replaced deprecated simplejson to json