Fix encoding probleme

Fixed encoding problems to create the json or to load a list urls.