support squashing embedded structs