Support nested structs and struct arrays