I think the problem is the header locale selector.
@nat that’s what I meant with JSON.parse suddenly breaking the site.
JSON.parse