title: Converting identifier naming between camelCase and underscores during JSON serialization/deserialization
body: <p>I am working on a python/django application that serves as a web API server to its frontend counterpart. The data exchange between the server and the client is in JSON format with the use of XMLHttpRequest (Javascript). For those that are familiar with both Python and Javascript, you know that they have different identifier naming convention when it comes to variables/methods/attributes; Python uses <code>names_with_underscores</code> while Javascript prefers <code>camelCaseNames</code>. I would like to keep both conventions in their respective worlds and perform conversion on identifiers when data exchange happens. </p>
  
  <p>I have decided to have the conversion performed on the server (Python). In my own opinion, the most logical place for this two-way conversion to happen is during JSON serialization/deserialization. How should I go about implementing this approach? Examples are highly appreciated.</p>
  
  <p>Note that I am on Python 2.7.</p>