Use YAML or JSON instead of CSV for configuring translations

I had a hard time reading the `languages.csv` file yesterday. I'd like to use something more readable for defining the translations.