Remove bit suffix from key size in XML output

Fixes issue #30
Run code analyzer and fix findings