repair mac unicode problem intorduced with json