fixes #2978 - Add CSV output to the list commands