remove hidden attributes on embedded models