title: Remove extra layer from object
body: <p>I have some web-hook which returns next data:</p>
  <pre><code> &quot;data&quot;: {
      &quot;object&quot;: {
        &quot;id&quot;: &quot;cus_JYmRConwwwbDjw&quot;,
        &quot;object&quot;: &quot;customer&quot;,
        &quot;address&quot;: null,
        &quot;balance&quot;: 0,
        &quot;created&quot;: 1622105261,
        &quot;currency&quot;: null,
        &quot;default_source&quot;: null,
        &quot;delinquent&quot;: false,
        &quot;description&quot;: null,
        &quot;discount&quot;: null,
        &quot;email&quot;: null,
        &quot;invoice_prefix&quot;: &quot;7BA9446D&quot;,
        &quot;invoice_settings&quot;: {
          &quot;custom_fields&quot;: null,
          &quot;default_payment_method&quot;: &quot;pm_1Ivesgeee6awlUaOWjDDzmv&quot;,
          &quot;footer&quot;: null
        },
        &quot;livemode&quot;: false,
        &quot;metadata&quot;: {},
        &quot;name&quot;: null,
        &quot;next_invoice_sequence&quot;: 1,
        &quot;phone&quot;: null,
        &quot;preferred_locales&quot;: [],
        &quot;shipping&quot;: null,
        &quot;sources&quot;: {
          &quot;object&quot;: &quot;list&quot;,
          &quot;data&quot;: [],
          &quot;has_more&quot;: false,
          &quot;total_count&quot;: 0,
          &quot;url&quot;: &quot;/v1/customers/cus_JYmRCewwea5bDjw/sources&quot;
        },
        &quot;subscriptions&quot;: {
          &quot;object&quot;: &quot;list&quot;,
          &quot;data&quot;: [],
          &quot;has_more&quot;: false,
          &quot;total_count&quot;: 0,
          &quot;url&quot;: &quot;/v1/customers/cus_JYmewenGa5bDjw/subscriptions&quot;
        },
        &quot;tax_exempt&quot;: &quot;none&quot;,
        &quot;tax_ids&quot;: {
          &quot;object&quot;: &quot;list&quot;,
          &quot;data&quot;: [],
          &quot;has_more&quot;: false,
          &quot;total_count&quot;: 0,
          &quot;url&quot;: &quot;/v1/customers/cus_JYmRCowea5bDjw/tax_ids&quot;
        },
        &quot;tax_info&quot;: null,
        &quot;tax_info_verification&quot;: null
      },
      &quot;previous_attributes&quot;: {
        &quot;invoice_settings&quot;: {
          &quot;default_payment_method&quot;: null
        }
      }
    },
    &quot;type&quot;: &quot;customer.updated&quot;
  }
  </code></pre>
  <p>To access for example <strong>id</strong> I need to use next path <strong>data.object.id</strong>.
  How I can avoid using this not readable, not needed <strong>object</strong> item in path?
  What I need is <strong>data.id</strong></p>