Fixed the formats section so that it uses the information provided by the firmware correctly.