A see, I thought I was being clever. Now with an explicit check for dict.