discount curve to string