a transformation for converting Container objects to a struct added