[config.Preference] Added static method to get configuration as dict() with custom filtering and method to retrieve value from key easily