json writer now exports warnings