The Configuration class has a asMap method