Added table output to collate_pretokenized_json method, next to the
already existing JSON output.