Replace conditional check for :draft key presence
Use the same style for format key in the details hash