make export to yaml files working. Some excludes before saving the yaml file.