Make sure dict key is a string