Text this: Modular Calabi-Yau threefolds in string compactifications