library for building JSON API wrappers in haskell