csv: unpack types during discovery