Fixed. The issue was that locales.json contained "ΕΛΛΗΝΙΚΆ" with Ά - a character that doesn't exist in the charset.