allow to pass a cdn data object in options