Test output is JSON