Minimized JSON.stringify() for SWI-Prolog?

Yep, the width(0) option seems to be accepted:

?- atom_json_term(Request, _{model:'text-davinci-003',
      prompt:'Generate a single random multiple choice quizz about Switzerland',
      max_tokens:100,
      temperature:0.7,
      n:1}, [width(0)]).
Request = '{"max_tokens":100, "model":"text-davinci-003", "n":
1, "prompt":"Generate a single random multiple choice quizz about
Switzerland", "temperature":0.7}'.

I used it here the Request variable, whats the alternative?

Maybe I should use library(http/http_json) ?