How to handle nested object validation - TanStack