Sanitize dict key