[Fix] Calling setlocale more multiple times causes a dangling pointer.
This fix is related to 0a991b58434350fb2769641b7818759bc192fa51 and a8fbc09a96f9427dfbe84ade2eb2708e3e9812f2
Merge pull request #4881 from ace20022/json_fix

[Fix][JSON] Fix re-set locale after using yajl