normalizing the format of the 'cartridges' attr