Supported languages function that returns JSON of supported languages