It sounds like an object, but it's just a single property of it (url string).
If the client below can't return an object, then it would be better to assign it before the client returns via a helper and then to work with the object here.