/api/v1/query values

https://prometheus.demo.do.prometheus.io/api/v1/query?query=vector(2.2)

Why does this return

[1669366576.859,"2.2"]

instead of

[1669366576.859,2.2]

2.2 is supposed to be a float. That is a bit annoying because I have to convert it to float myself again. (Instead of the json library doing it for me)

Hello,

Because Prometheus can also return non-float data, such as NaN or
strings.