change gzip config to store_as with support for gzip, json, text