Reads a single value for the given key from the data of this config.
Reads a single value for the given key from the data of this config. If no value was found, this function will return the given def.