[PATCH 06/13] firmware: Add 'templateFormat' XML attribute and plumb it in