The current code returns a string containing an array of properties.
This breaks i18n extraction as i18n() inside another string won't work.
This patch returns properties as an object so that i18n translation
works.
The config is also changed so that extraction works properly.
BUG: 375880