Automatic generation of haskell functions for querying servant webservices