Ensure UTF8 encoding when returning the discounted amount via ajax. Fixes #847