let's create an object which contains keys based on the valid values of `rescaleOption`, and whose values are "getter" functions, which extract a value from input data, or null if data doesn't contain valid value.