title: How to omit fields in Objection.js dynamically
body: <p>Is there a way to omit or change the json of a model dynamically for different cases,</p>
  <p>Though by overriding the $formatJson method on the Model does give the ability to do that,
  but it affect every model instance.</p>
  <p>I want to be able to omit some fields for some request and get the full data for other request.</p>
  <p>Example</p>
  <pre><code>// GET /cars
  [
      {
          &quot;id&quot;: 1,
          &quot;name&quot;: &quot;honda&quot;,
          &quot;year&quot;: &quot;1999&quot;,
          &quot;image&quot;: &quot;full-view.jpg&quot;
      },
      ...
  ]
  
  
  // GET /car
  {
      &quot;id&quot;: 1,
      &quot;name&quot;: &quot;honda&quot;,
      &quot;year&quot;: &quot;1999&quot;,
      &quot;image&quot;: &quot;full-view.jpg&quot;,
      &quot;manufacturer&quot;: &quot;Honda Motor Company, Ltd.&quot;,
      &quot;country&quot;: &quot;Japanese&quot;,
      &quot;createdAt&quot;: &quot;2022-08-15 10:42:36&quot;,
      &quot;updatedAt&quot;: &quot;2022-08-15 10:42:36&quot;,
      ...
  }
  </code></pre>
  <p>Please is there any way to do this in Objection.js?
  Any solution will appreciated, Thanks</p>