towards a metadata parser...