[data-parser] ignore whitespace when computing the schema id

Also add some more terminfo directories.