Dealing with deeply nested structs

This sounds like a perfect use case for a data conformance library, such as saul | Hex