Resolve returned xhr(promise) with model.