Bugfix in locale transformation to JSON Array