Compression for application/json in nginx

Compression was already enabled for apache (https://github.com/aws/opsworks-cookbooks/commit/efee69cad25bf8884c5fa389ad154b7faafa6de7). This PR enables json compression also for nginx.