Implement a nested object validator | Applied Intuition