Foreach ship component a new object is added in the components list of the ships Attributes