RESTful web service implemented in Haskell/snap with a MongoDB backend