Javascript Query builder

I believe there is no such a thing as it's pretty straight forward in JS vs in JAVA to generate a JSON Query:

const response = await client.search({
  index: 'myindex',
  body: {
    query: {
      match: {
        title: 'test'
      }
    }
  }
});