resolve nested and array nested validations