Fix bug with jedi

definition.name is not a string anymore, its a NamedPart which
have a string attribute