refactored config spec parsing