Convert Entity as yml.