Binding DTOs: improve equals() implementation