title: How to add name in JSONPATH
body: <p>I have an array like this</p>
  <pre><code>{
      &quot;activities&quot;: [
          {
              &quot;activityId&quot;: &quot;60f672b20f38640008a6c29b&quot;,
              &quot;_id&quot;: &quot;610cb887b149cb00095e1eb6&quot;,
              &quot;trackingProgress&quot;: [
                  {
                      &quot;_id&quot;: &quot;610cb8ee541fea0009189c36&quot;,
                      &quot;dateRecorded&quot;: &quot;2021-07-16T00:00:00.000Z&quot;,
                      &quot;items&quot;: [
                          {
                              &quot;_id&quot;: &quot;610cb8ee541fea0009189c37&quot;,
                              &quot;feelingType&quot;: &quot;Satisfied&quot;,
                              &quot;times&quot;: 2
                          }
                      ]
                  },
                  {
                      &quot;_id&quot;: &quot;611358300fea490008d56ea7&quot;,
                      &quot;dateRecorded&quot;: &quot;2021-08-10T00:00:00.000Z&quot;,
                      &quot;items&quot;: [
                          {
                              &quot;_id&quot;: &quot;6113583b0fea490008d56eae&quot;,
                              &quot;feelingType&quot;: &quot;Neutral&quot;,
                              &quot;times&quot;: 1
                          }
                      ]
                  },
                  {
                      &quot;_id&quot;: &quot;611b6068fed9100009a4f689&quot;,
                      &quot;dateRecorded&quot;: &quot;2021-08-17T00:00:00.000Z&quot;,
                      &quot;items&quot;: [
                          {
                              &quot;_id&quot;: &quot;611b6068fed9100009a4f68a&quot;,
                              &quot;feelingType&quot;: &quot;Satisfied&quot;,
                              &quot;times&quot;: 4
                          }
                      ]
                  }
              ],
              &quot;title&quot;: &quot;Losing &amp; Managing Weight&quot;,
              &quot;description&quot;: &quot;Losing weight&quot;,
              &quot;order&quot;: null,
              &quot;daysOfWeek&quot;: [
                  &quot;tuesday&quot;
              ],
              &quot;reminderTimeAt&quot;: &quot;09:00 am&quot;,
              &quot;type&quot;: &quot;Custom&quot;,
              &quot;progressOverview&quot;: {
                  &quot;notSatisfied&quot;: 0,
                  &quot;neutral&quot;: 1,
                  &quot;satisfied&quot;: 6
              }
          }
      ]
  }
  </code></pre>
  <p>I use <a href="https://github.com/json-path/JsonPath" rel="nofollow noreferrer">JSONPATH</a> to get <code>_id</code> in <code>items</code></p>
  <pre><code>$.activities.[*].trackingProgress.[*].items[*].[_id]
  </code></pre>
  <p>it return an array like this</p>
  <pre><code>[
    &quot;610cb8ee541fea0009189c37&quot;,
    &quot;6113583b0fea490008d56eae&quot;,
    &quot;611b6068fed9100009a4f68a&quot;
  ]
  </code></pre>
  <p>But, i want to keep the &quot;_id&quot;, something like :</p>
  <pre><code>[
    &quot;_id&quot;:&quot;610cb8ee541fea0009189c37&quot;,
    &quot;_id&quot;:&quot;6113583b0fea490008d56eae&quot;,
    &quot;_id&quot;:&quot;611b6068fed9100009a4f68a&quot;
  ]
  </code></pre>
  <p>How can i do that?? Thank you a lots, i search internet but i found nothing</p>