prevent non ascii characters breaking json