add name attribute in metadata

Add name field in metadata for swift and chefspec