implmeneted get flatten properties in structure