Convert selected locales from [] to {}