Refactored the gzip types to be retrieved from configuration