handle UTF8 encoding in JSON - closed #13

needs automated test