Use type instead of tags to get docs in openpgp

For that that now the type is the class.__name__ instead of
str(class)