title: how can I serialize tuples as list in F#?
body: <p>I have a library that sends me results that include tuples. I need to process some of the data, serialize it and then it goes on its way to another system.</p>
  
  <p>the tuples are ALWAYS made of 2 values but they are extremely wasteful when serialized:</p>
  
  <pre><code>(3, 4)
  </code></pre>
  
  <p>will serialize as:</p>
  
  <pre><code>{"Item1":3,"Item2":4}
  </code></pre>
  
  <p>whereas</p>
  
  <pre><code>[3; 4]
  </code></pre>
  
  <p>will serialize as:</p>
  
  <pre><code>[3,4]
  </code></pre>
  
  <p>I would like to avoid rebuilding the whole data structure and copying all the data to change this part.</p>
  
  <p>Is there a way, at the serializer level, to convert the tuples into list?</p>
  
  <p>the next process' parser can be easily changed to accommodate a list instead of tuples, so it seems like the best scenario.</p>
  
  <p>the ugly option would be to fix the serialized string with a regex, but I would really like to avoid doing this.</p>