My question is sort of stupid that why
JSON.stringify({"annotation": [{"x":1, "y":2}, {"x":1, "y":2}]})
does not return
{"annotation": [{"x": 1, "y": 2}, {"x": 1, "y": 2}]}
but returns
{"annotation":"[{\"x\": 1, \"y\": 2}, {\"x\": 1, \"y\": 2}]"}
and how can I get the first output?