Server Routes don't show response data when status code is 404
This is an example of a simple code of server routes. I expected it to return data in JSON with the data as shown above but it only shows this in page:
If I change the status code to anything else then it shows proper response:
