simple get function to query HAL api
currently in HAL we have runSearchRequest :: [Text] -> IO (Either ServantError (Response Doc))
with Doc: data Doc = Doc {_docid :: Int, _label_s :: Maybe Data.Text.Internal.Text, _parentDocid_i :: [Data.Text.Internal.Text]}
We need this format to import it into Gargantext (for IMT purpose): https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blob/master/src/Gargantext/Text/Parsers/CSV.hs#L216