I have a list of JSON objects as a string. 

```
str = "[{'key1':'value1','key2':'value2'}, {'key1':'value1','key2':'value2','key3':'value3'}]"

```

Is there any way to store the string as a list into a variable?

```
arr = [{'key1':'value1','key2':'value2'}, {'key1':'value1','key2':'value2','key3':'value3'}]

```