pub fn decode( binary: BitArray, ) -> Result(Dict(String, Value), Nil)
pub fn encode(doc: Dict(String, Value)) -> BitArray