I have a class that is used to get json data from a URL. I want to be able to change the path of the URL based on a property stored in an EnvironmentObject injected into the