Added metadata parsing to [(Text,Text)] type