implemented simplification of localization dictionary (closes #91); localized attribute can be a string if only label is localized