Simple generation of JSON data for the frontend based on Rails-style YAML locales