convert a key value pair into 2 different objects : <p><strong>Let me explain here</strong></p>

<pre><code>let obj = {manager:XYZ}
//output:[{position:"manager",name:"XYZ"}]
</code></pre>

<p><em>you can also use lodash to find the solution</em></p>
