I want to create a string which will look like the following:

```
 "[{"product_id":"123","name":"stack"},{"product_id":"456","name":"overflow"}]"

```

I have the `product_id` and `name` in two arrays. How can I create the above type of string most efficiently?