changed from 'yaml' to 'safe_yaml' gem