Fixed destinations_cache json_encode to only get UTF-8, it is required
Special characters were retrieved as latin1 as this is how the table is defined. PHP
json_encode expects UTF-8. Previously there was an error, but json_encode simply put
<null> on the value it couldn't encode. Nowdays the function fails if you call
it with special characters as latin1, hence destinations cache is empty.
Fixes T485