Extend output template functionality to allow multi-metric formats with header/footer (JSON, XML, etc)