Make YAML serialisation explicit