Save an array with key values

Hi,
What is the way to store an array with arrays, with key and value and just strings?
something like that:
[[0: 1300, 1: 2000], ‘text’, [0: 3000, 1: 3500], “etc”]
Thanks.

Solved it with JSON.stringify for now. thanks.