Normalize YamlFileLoader accordingly to JsonFileLoader