shea
01/31/2018, 2:17 PMJSON.parse()
needs a string input. in reduce, context.values isn't a string, it's an array of strings. (you can confirm by logging typeof context.values i suspect) going through each of the elements in the array and parsing it should get you what you'd expect. (i think)