Return unicode values for keywords to avoid UnicodeDecodeError