Rails 4.
Clean translations to remove nil values before exporting