String getLabel(String field) { if (labels.containsKey(field)) { return labels[field]!; } return field.title(); }