Nevermind, I just tested it and the JSON parser requires quotes around key names... I guess the manual approach is better. The split strings should be changed to the following regular expressions to improve matching reliability: (outer) ```/\s*,\s*/```, (inner) ```/\s*:\s*/```