For some context, the class is meant to hold the metadata of the products, which are objects. Now, I would like to pass the objects to my template, in order to call its attribut