Text this: On-chip pulse shaping of entangled photons