Refactored Config:getConfig to Config:toArray. Updated unit tests.