parseResults(
в начале и )
в конце, и затем распарсить.let json = {dummy: 'must be replaced by parseResults()'};
const parseResults = j => json = j;
Unexpected token p in JSON at position 0 at JSON.parse
parseResults({"response":{"Header":
const arr = str.split(/(?<=[A-Z]), /);
// или
const arr = str.match(/[^,\s][^,]*, [^,]+/g) ?? [];
// или
const arr = str
.split(', ')
.reduce((acc, n, i) => (
(i & 1) || acc.push([]),
acc[acc.length - 1].push(n),
acc
), [])
.map(n => n.join(', '));