change attribute data to list in shapefile api