adding csv export of table

Signed-off-by: Werner Macho <werner.macho@gmail.com>