[ngrams] simplify WithQuery json structure

There is now only a 'datafield' field, no need for duplicated
'database'.

Related to #441
4 jobs for 224-dev-understanding-ngrams in 52 minutes and 47 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Cabal
passed #16759
cabal

00:22:49

 
  Stack
passed #16760
stack

00:07:10

 
  Bench
manual #16761
allowed to fail manual
bench
 
  Test
failed #16762
test

00:22:48

 
Name Stage Failure
failed
test Test
calling stop core nlp - done
Test suite garg-test-hspec: PASS
Test suite logged to:
/builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-9.4.8/gargantext-0.0.7.4.2/t/garg-test-hspec/opt/test/gargantext-0.0.7.4.2-garg-test-hspec.log
1 of 1 test suites (1 of 1 test cases) passed.
Error: cabal: Tests failed for test:garg-test-tasty from gargantext-0.0.7.4.2.

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1