get rrid of whitespaces in yaml file