Text this: Measuring and managing credit risk in derivative structures