A Haskell library for encoding bacnet data