Server side route displaying JSON not formatted

Hello all,
I used simple:json-routes to define a server side route which displays part of a collection as JSON. When I go to the route on localhost the JSON is nicely formatted. However, when I deploy to the meteor server it just displays as one long text.

I am not really sure why this is happening. The main difference between my app deployed vs on localhost is the force-ssl package. Would that affect the formatting of the JSON in a server-side route?

Try run meteor run --production from localhost and take a look at the route response. But why you so need prettified json? It is better to minify all the responses