adds a better json representation for csv imports