title: Adjust MVC 4 WebApi XmlSerializer to lose the nameSpace
body: <p>I'm working on a MVC WebAPI, that uses EF with POCO classes for storage.
  What I want to do is get rid of the namespace from the XML, so that the endpoints would return and accept xml objects without it. (json works just fine)</p>
  
  <pre><code>&lt;ACCOUNT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Platform.Services.AccountService.Data"&gt;
  &lt;id&gt;22&lt;/id&gt;
  &lt;City i:nil="true"/&gt;
  &lt;Country i:nil="true"/&gt;
  &lt;Email&gt;testas@email.com&lt;/Email&gt;
  &lt;Phone i:nil="true"/&gt; ...
  </code></pre>
  
  <p>I would like this to work</p>
  
  <pre><code> &lt;ACCOUNT&gt;
      &lt;id&gt;22&lt;/id&gt;
      &lt;City i:nil="true"/&gt;
      &lt;Country i:nil="true"/&gt;
      &lt;Email&gt;testas@email.com&lt;/Email&gt;
      &lt;Phone i:nil="true"/&gt; ...
  </code></pre>
  
  <p>Hopefully without having to decorate the POCO's with a bunch of attributes.</p>
  
  <p>I've set up a test solution for this, and indeed, these methods are beeing hit (must be some other problem in my system). Anyways - the result that I get using this solutions is this:</p>
  
  <pre><code>&lt;ArrayOfAccount&gt;
  &lt;Account&gt;
  &lt;id&gt;22&lt;/id&gt;
  &lt;name&gt;TestAcc&lt;/name&gt;
  &lt;parentid xmlns:d3p1="http://www.w3.org/2001/XMLSchema-instance" d3p1:nil="true"/&gt;
  &lt;status_id xmlns:d3p1="http://www.w3.org/2001/XMLSchema-instance" d3p1:nil="true"/&gt;
  &lt;Email&gt;Test@Test.com&lt;/Email&gt;
  &lt;/Account&gt;
  &lt;/ArrayOfAccount&gt;
  </code></pre>
  
  <p>Got rid of the schema on top, but the properties are now messed up :(
  Here's a link to a <a href="http://dl.dropbox.com/u/26220441/MvcApplication1.zip" rel="noreferrer">sample project</a> </p>