We need to be able to capture output when including contributed code as it may add additional content which makes makes the json we output invalid. We only warn of these errors if the site is in debugdeveloper, otherwise we silently drop them.