response.json() is asynchronous, so to get its return value you need to await it. Typical usage:
const response = await fetch(...);
const jsonData = await response.json();
alert(jsonData);
(This is nothing to do with C3 specifically, it's just normal JavaScript)