enh: convert key to string for checking