merge fields for StructType