title: Custom formatted string as JSON value. Yay or nay?
body: <p>I want to send JSON structured something like this</p>
  
  <pre><code>{
      "buttons": {
          "track": {
              "type": 0,
              "visibility": 1,
              "visibility_text": "I am visible"
          },
          "call": {
              "type": 0,
              "visibility": 1,
              "visibility_text": "I am visible"
          }
          // 12 or so more children of button node
      }
  }
  </code></pre>
  
  <p>As you can see, there is a lot of duplication going on here. I am thinking of sending sending a token separated string rather repeating the type, visibility and visibility_text nodes. Something like this</p>
  
  <pre><code>{
      "buttons": {
          "track": "0|1|I am visible",
          "call": "0|1|I am visible"
      }
  }
  </code></pre>
  
  <p>The amount of data to be transferred is greatly reduced, but at the cost of readability, which is not a high concern since this is a private API.</p>
  
  <p>What are the pros and cons of the second approach? Any other suggestions are welcome too.</p>