Bug 24584: Rewrite optional/patron_atributes to YAML