Add a getMap function to YamlConfiguration

The previous commit messed up?