I had to change a `map(str.lower, ...)` in my other commit b/c if unicode is passed in this breaks. I changed it to `map(lambda x: x.lower(), data)` to handle both strings or unicode.