Fix yaml type coercion