Text this: A Robust Class of Data Languages and an Application to Learning