feat: parse the metadata