Retrieves a sub configuration or value based on given key.
If configuration property cannot be found the specified default value is returned.