switching from simplejson to json