Fix backend name conversion to unicode + minor refactoring