Use json_encode instead of addslashes
Merge pull request #300 from uppa/uppa.7155

Fixes #7155 : Exercice description bug