convert EntityCollectionResponse to CSV