Add name attribute to the metdata