TestCase & TestHandler: simplified output to pure JSON