slightly tidier KEY to char conversion