There is a JavaScript object:

`{"Due_Date__c":"2020-08-26","Status__c":""}`

How can it be converted into an array of name value pairs like so:

```
[
   { 
     name: "Due_Date__c",
     value: "2020-08-26"
   },
   { 
     name: "Status__c",
     value: ""
   },
]

```