Using ujson or simplejson in worker if available.