Monitor: wrapped json generation by try/catch