[minor] add property as validator for objects