parse embed structs properly