Fixed a relict from old Mapcrafter ages.
Added a simple json string escape function.