Similar to serde, it would be great to add support for `flatten`, so that nested structs can be presented in a more streamlined and readable way.