             }
         }
 
-        let userDataDictionary = Targeting.shared.getUserDataDictionary().getCopyWhereValueIsArray()
-        if userDataDictionary.count > 0 {
-            requestUserExt["data"] = userDataDictionary
-        }
-
-        if requestUserExt.count > 0 {
-            userDict["ext"] = requestUserExt
-        }
+        requestUserExt["data"] = Targeting.shared.getUserDataDictionary().getCopyWhereValueIsArray()
+
+        userDict["ext"] = requestUserExt
 
         return userDict
     }

        adUnitExt["prebid"] = prebidAdUnitExt

        var prebidAdUnitExtContext: [AnyHashable: Any] = [:]

        if let adUnitContextKeywords = adUnit?.getContextKeywordsSet().toCommaSeparatedListString(), !adUnitContextKeywords.isEmpty {
            prebidAdUnitExtContext["keywords"] = adUnitContextKeywords
        }

        if let adUnitContextData = adUnit?.getContextDataDictionary().getCopyWhereValueIsArray(), adUnitContextData.count > 0 {
            prebidAdUnitExtContext["data"] = adUnitContextData
        }

        if prebidAdUnitExtContext.count > 0 {
            adUnitExt["context"] = prebidAdUnitExtContext
        }

        imp["ext"] = adUnitExt


        requestPrebidExt["targeting"] = [:]
        requestPrebidExt["storedrequest"] = ["id": Prebid.shared.prebidServerAccountId]
        requestPrebidExt["cache"] = ["bids": [AnyHashable: Any]()]
        requestPrebidExt["data"] = ["bidders": Array(Targeting.shared.getAccessControlList())]

        var requestExt: [AnyHashable: Any] = [:]
        requestExt["prebid"] = requestPrebidExt
