Separated out json/table output