Replace dojo/_base/Deferred by dojo/Deferred and dojo/_base/json by native JSON.