improve csv by implementing a flexible schema of default types