Add JSON support for locale files