Add helper for BitSet [de]serializing