title: How to change loopback API response to a particular format
body: <p>I am new to loopback I want to change every response from my loopback remote method API to a particular format</p>
  
  <p>eg: if success</p>
  
  <pre><code>{
      status:1,
      data:{},
      message:"Success"
  }
  </code></pre>
  
  <p>If error</p>
  
  <pre><code>{
      status:0,
      data:{},
      message:"Something went wrong"
  }
  </code></pre>