io bean to tree completed with validation rules