Use nicer formatting for string keys in key_error