updated YAML serialization restrictions