A JSON API server written in Haskell