Use dkjson which seems to have a better UTF-8 support (and is cleaner overall).