title: How to totally control json serialization in WCF
body: <p>I need to totally control the json serialization process in my Rest WCF service. I need to substitute the serialization result, that is something similar to:</p>
  
  <pre><code>{ foo: 42, bar: 43 }
  </code></pre>
  
  <p>with:</p>
  
  <pre><code>myFunc( { foo: 42, bar: 43 } );
  </code></pre>
  
  <p>any ideas?</p>
  
  <p>thanks
  m.</p>