title: Elixir Jason encode struct with tuple
body: <p>I have a struct which already has <code>@derive Jason.Encoder</code> but some fields in that struct are tuples, and for this reason cannot encode the struct, how can I fix that :/</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I have used the approach that mentioned below with implementing a protocol. One important thing to note about this approach is that it will change the encoding for the whole project, just be careful with that !</p>