title: Preserve Python tuples with JSON
body: <p>I'm still a little new to this, so I might not know all the conventional terms for things:</p>
  
  <p>Is it possible to preserve Python tuples when encoding with JSON?  Right now <code>json.loads(json.dumps(tuple))</code> gives me a list back.  I don't want to convert my tuples to lists, but I want to use JSON.  So, are there options?</p>
  
  <p>The reason why:
  I'm creating an app that uses multi-dimensional arrays, not always the same shape.  I've got some class methods that use recursion to probe the arrays and cast the endpoints as a string or int.  I recently realized that (based on how my recursion works) I can use tuples to prevent deeper recursive searching of arrays (Python rawks).  This could come in handy in situations where I know I for sure I won't need to be probing any deeper into my data structures.</p>