title: how to return json format from ODATA?
body: <p>I know ODATA can return json but not sure if I have to use an attribute or interface to do so.</p>
  
  <p>I want it to do just like <a href="http://odata.netflix.com/Catalog/Titles" rel="noreferrer">http://odata.netflix.com/Catalog/Titles</a>?$format=JSON but my odata service doesn't return JSON. When I call it like www.foo.com/service?$format=json, it just returns XML.</p>
  
  <p>What do I need to do to return json with ODATA?</p>