title: Create new object from existing object with new values Angular / Ionic 3
body: <p>I am working on an Ionic 3 project,which uses Angular. </p>
  
  <p>I have a JSON object like below called person.  However, I have a Ionic toggle button which enables
   various sections based on whats returned from person. </p>
  
  <pre><code>person  = { name: "peter", job: "programmer", home: "somewhere"};
  
  person_checked_values = {}
  </code></pre>
  
  <p>In order to update my toggles I need to pass a boolean.  The keys are the same.  How can I dynamically build a new object off of
   whats returned from person <strong>KEYs</strong>, but set the value as true so person_checked_values results like below? </p>
  
  <pre><code>person_checked_values  = { name: true, job: true, home: true};
  </code></pre>
  
  <p>I tried to foreach loop person and create a new object from that, but keep getting undefined and stumped. FWIW - I am using _lodash as well so if there is possibly someway to use help from that library its available. </p>