Fixed encoding issue with JSON repo parsing