Fix: do json_decode before decoding UTF8 to globalisations charset
(Fixes 492)
Merge pull request #495 from david0/master

Fix: do json_decode before decoding UTF8 to globalisations charset