CLDIDE-2074: fix validation of factory fields with DTO objects