fix: swift statistics return format
rm: dict lookup

Explicitly typecast required swift headers to int
fix: catch KeyError Exceptions
Merge pull request #120 from TheSriram/fix_swift_headers_return

fix: swift statistics return format