A Haskell framework for rapid development of RESTful web-based APIs