I will rework this for charset handling, I was assuming that JSON would be UTF-8. Perhaps this is a bad assumption?