Ensures gsconfig honors the resource's Advertised value when saving.

This fixes a bug in gsconfig that causes a layer's advertised value to always be set to true when saving.