flatten storage of nested structs as long as they are reference-free