title: Find by key and replace by value in nested json object
body: <p>I have an json object It can be nested and I have an second object containing key/value pair. I want to replace the second object's value by first one by matching key both object's key.</p>
  
  <pre><code>let firstObj = {
          "enquiry": {
              "Lead": {
                  "SubLead": {
                      "DealerRef": "test",
                      "DealerFloor": "test",
                      "Region": "test",
                      "Source": {
                          "Special": "test",
                          "TestDrive": "test",
                          "TradeIn": "test",
                          "Finance": "test"
                      }
                  },
                  "Contact": {
                      "Info": {
                          "FirstName": "test",
                          "Surname": "test",
                          "Email": "test",
                          "OfficePhone": "test",
                          "CellPhone": "test"
                      }
                  },
                  "Seeks": {
                      "Stock": {
                          "Used": "test",
                          "Brand": "test",
                          "Model": "test",
                          "StockNr": "test"
                      }
                  }
              }
          }
      }
  </code></pre>
  
  <p>Its my array</p>
  
  <pre><code>let secondObj = {
    DealerRef: '18M',
    DealerFloor: 'UCP',
    Region: 'Western Cape',
    FirstName: 'abc',
    Surname: 'xyz',
    Email: 'test@ctm.co.za',
    OfficePhone: '2343243',
    CellPhone: '2343243',
    Used: '1',
    Brand: 'QAE',
    Model: 'test',
    StockNr: 'SEDONA',
    Special: '2013 Kia Sedona',
    TestDrive: '0',
    TradeIn: '0',
    Finance: '0' 
  };
  </code></pre>
  
  <p>I have tried many ways [<a href="http://jsfiddle.net/FM3qu/7/][1]" rel="nofollow">http://jsfiddle.net/FM3qu/7/][1]</a> this way i'm able to get solution in Jsfiddle, In my express application when I try to process it gives me an empty object.</p>
  
  <p>I want something like this </p>
  
  <pre><code>"enquiry": {
    "Lead": {
        "SubLead": {
            "DealerRef": "18M",
            "DealerFloor": "UCP",
            "Region": "Western Cape"....
  </code></pre>
  
  <p>Thank you </p>