First pass at parsing the metadata section