How do you store key-value pair data with NO ORDER?

How to store key-value pair data with NO ORDER ??

Hello, everyone.
I am a student who are creating an app using by APP INVENTOR.
Here is my question.

After the database saves key-value pair data, it will arrange them in A~Z order, but I don't want to do this.

Just like:
{"zip":"abc","bob":"def"}
After saving, it turn to be:
{"bob":"def","zip":"abc"}

But I DON't want to do this.
What I want just to keep the original order
What should I do?

THANK YOU !
(Please forgive my poor English)

Why does the sort order matter ?

What are you doing with your json once it is returned ?

Actually, it’s the AI API (Which I use in my project) that requires the JSON in a specific format—like {"role":"user","content":"text"}—or it’ll throw an error saying the JSON is malformed.

Here is a workaround you could do with blocks

If it has some same key name, how could i do ?
​Like
{"role":"user","content":"text1","role":"system","content":"text2","role":"user","content":"text3"}........

This is a two column table, with optional header row.

Use [["role","content"],["user","text1"],["system","text2"],...]
as your JSON text.