dynamic field names and types in R to KML