We have had a situation were a corrupted page prevents the creation of a sitemap. Handling failed json parses should be the responsibility of pagehandler.pages. But now might be a good time to add skip-and-continue logic there.