add symfony object validation support