correctly handle and capitalize multi-character key alternatives