Added export support for public keys, fixed inter-operable bug when name is not set and keysets not working in python,