now also with importing feature. export now creates correct data type index values and omits the index type at the end of the index