title: Limit json serialization depth
body: <p>I have multiple EF and/or LinqToSql objects. I need to strigify them (log content for later debbuging).
  I was trying to do it using json converter and JavaScriptSerializer. Unfortunately to prevent recursion i need to limit depth of serialization (like only to first level children). </p>
  
  <p>How can I make it works, which library can do it, or is there a better way?</p>
  
  <p>Don't tell me please that i need to make dto objects or other poco. I know i can make it work that way but because of code base size and number of required changes it is impractical.</p>