Extract metadata from metainfo.xml files