Casting in erb yaml file.