add deflate, add other function calls from the api, fix tag naming
Created by: mfurlotti
I added some api calls relevant to creating compressed data sets. I also fixed the field name so it is extracted from the relevant part of the tag, rather than getting set to the full tag string.