vocabulary_with_prefix() returns unicode, not str