Haskell representation and serialization of BSON documents (version 1.0) as defined at bsonspec.org