webservices: Fix write option mapping in write_type_struct_field.