Map<String, dynamic> toJson() => { 'field_id': fieldID, 'index': index, 'sub_field': subField?.toJson(), };