move the yaml parser out of the base module into utils