fix unicode strings in json
Making JSON_UNESCAPED_UNICODE change apply to 5.4+, whilst still supporting 5.3.