assuming the “marketplace” variable is pre-defined, and that “< collectionaddress >” is just a placeholder for the actual fetch link that you don’t want to expose.
edit: resp.json should be resp.json()
You may have to JSON.Stringify() or .String() stuff and format things back and forth from JSON.