a utility to provide functions to extract features from the API response
extractor(featureType)
featureType
the type of annotation as called in the response object
a function