xpiler: added type spec parsing for collections