Make the DataFormat a case class.