add coercion for arrays into WKT for spatial types