Text this: Geometrical shape learning as basis for compact microstructure representations and microstructure-properties linkages