title: Append string and special character in the output of jq command
body: <p>I have a json file GroupList.json:</p>
  <pre><code>{
    &quot;results&quot;: [
      {
        &quot;type&quot;: &quot;known&quot;,
        &quot;username&quot;: &quot;USERID1&quot;,
        &quot;displayName&quot;: &quot;DISPLAYNAME1&quot;,
        &quot;_links&quot;: {
          &quot;self&quot;: &quot;https://confluence.com/rest/api/user?key=123&quot;
        },
        &quot;_expandable&quot;: {
          &quot;status&quot;: &quot;&quot;
        }
      },
      {
        &quot;type&quot;: &quot;known&quot;,
        &quot;username&quot;: &quot;USERID2&quot;,
        &quot;displayName&quot;: &quot;DISPLAYNAME2&quot;,
        &quot;_links&quot;: {
          &quot;self&quot;: &quot;https://confluence.com/rest/api/user?key=1234&quot;
        },
        &quot;_expandable&quot;: {
          &quot;status&quot;: &quot;&quot;
        }
      }
    ],
    &quot;start&quot;: 0,
    &quot;limit&quot;: 50000,
    &quot;size&quot;: 2,
    &quot;_links&quot;: {
      &quot;self&quot;: &quot;https://confluence.com/rest/api/group/GROUPNAME/member&quot;,
      &quot;base&quot;: &quot;https://confluence.com&quot;
    }
  }
  </code></pre>
  <p>I'm fetching the username using the below command:
  <em><strong>jq -r '.results | map(.username) | join(&quot;,&quot;)' GroupList.json &gt; UserNameList.txt</strong></em></p>
  <p>Output in UserNameList.txt is:
  <em><strong>USERID1,USERID2</strong></em></p>
  <p>I want to modify the output to be:</p>
  <p><em><strong>SPACEKEY : GROUPNAME : USERID1,USERID2</strong></em></p>
  <p>SPACEKEY &amp; GROUPNAME are 2 variables whose value changes in every iteration.</p>