Fix JSON with unicode saving

Uses a patch to string repository https://github.com/joomla-framework/string/pull/6