Don't rely on JSON.parse() for page.evaluate().

https://github.com/ariya/phantomjs/issues/12615