title: using jansson api's create json file write data into file but i need new line for very key
body: <p>Output:</p>
  <pre><code>{&quot;PSM&quot;: {&quot;LinkName&quot;: &quot;ath6&quot;, &quot;LinkType&quot;: &quot;WiFi&quot;, &quot;PriorityTag&quot;: 1, &quot;Pvid&quot;: 106}, &quot;SYSCFG&quot;: {&quot;LinkName&quot;: &quot;ath6&quot;, &quot;LinkType&quot;: &quot;WiFi&quot;, &quot;PriorityTag&quot;: 0, &quot;Pvid&quot;: 107}, &quot;rbus_event&quot;: {&quot;LinkName&quot;: &quot;ath6&quot;, &quot;LinkType&quot;: &quot;WiFi&quot;, &quot;PriorityTag&quot;: 0, &quot;Pvid&quot;: 108}, &quot;SYSEVENT&quot;: {&quot;LinkName&quot;: &quot;ath6&quot;, &quot;LinkType&quot;: &quot;WiFi&quot;, &quot;PriorityTag&quot;: 0, &quot;Pvid&quot;: 109}}
  </code></pre>
  <p>Expected Output:</p>
  <pre><code>{&quot;PSM&quot;: {
  &quot;LinkName&quot;: &quot;ath6&quot;,
   &quot;LinkType&quot;: &quot;WiFi&quot;, 
   &quot;PriorityTag&quot;: 1, 
   &quot;Pvid&quot;: 106}, 
  &quot;SYSCFG&quot;: {
  &quot;LinkName&quot;: &quot;ath6&quot;, 
   &quot;LinkType&quot;: &quot;WiFi&quot;,
   &quot;PriorityTag&quot;: 0,
   &quot;Pvid&quot;: 107},
   &quot;rbus_event&quot;: {
  &quot;LinkName&quot;: &quot;ath6&quot;,
   &quot;LinkType&quot;: &quot;WiFi&quot;,
   &quot;PriorityTag&quot;: 0,
   &quot;Pvid&quot;: 108},
   &quot;SYSEVENT&quot;: {
  &quot;LinkName&quot;: &quot;ath6&quot;,
   &quot;LinkType&quot;: &quot;WiFi&quot;,
   &quot;PriorityTag&quot;: 0,
   &quot;Pvid&quot;: 109}}
  </code></pre>