This loop should be replaced by a call to convertFields(List<Schema.Field> fields)