Remove set_trace
Add test for outputting lines of json