jfk: fix broken span id in Template