removing simplejson dependency