Disable pretty print of REST API for JSON only for production environments