title: Converting big POJO to case class
body: <p>Now I'm migrating legacy Java project to Scala.  </p>
  
  <p>I faced the following problem: I call remote service that returns <code>java.util.List&lt;SomePojo&gt;</code>. <code>SomePojo</code> class contains about 50 fields and I'm interested what are the best practices to pass it to UI in JSON format.</p>
  
  <p>I'm using scalatra framework and it is just fine, but how to put this POJO to case class while case classes are limited with 21 fields? Or is there better way?</p>