additional change to column export function
Revert "additional change to column export function"

This reverts commit 9c9b04d7d67d4e6edafabb7989089bb97b359081.
issue #99, created another fix as there was still a problem with the Entity part of the group file