JSON format for output expected

Hi All,
I am new to json.
I need an output string like this:

I need to provide json structure to end user. what kind of JSON structure will create above string when converted to object with string property with above value.

For example
object obj has string property called accounts. Accounts property should have value
“<item id="5132" /><item id="5188" />”

obj.accounts = “<item id="5132" /><item id="5188" />”,
json layout:
“accounts” : {
???

}

Appreciate your help.

Thank You

Hi @Spunny,

I’m not sure I can follow your question.

This is the community forum for JSON Forms, a form rendering framework.

Please add more details on the challenge you are facing in case you are using JSON Forms.