Thanks! It is indeed clearer.
One problem occurs when I have two entries for the same field. Let’s say one person has two citizenships. If I use
$citizenship= metadata('item', array('Item Type Metadata', 'Citizenship'));
It will only print the first entry not the second.