When responding with a very large json object, a duplicate is sent along with it when using the compression middleware.
E.g. the response on my endpoint in chrome and firefox is {_id: 1212, ...... }{_id: 1212, ...... }. When I remove the compression middleware it correctly sends one object.
Original issue: angular-fullstack/generator-angular-fullstack#380