rest: Update junit format

Add timestamp to test suite
Change date time format to ISO for test case
Fix for error tag in case of a test case failure

Signed-off-by: Stevan Radaković <stevan.radakovic@linaro.org>
19 jobs for update-junit-api in 16 minutes and 34 seconds (queued for 11 seconds)
Status Name Job ID Coverage
  Test
passed dispatcher-debian-10 #159952
amd64

00:02:28

passed dispatcher-debian-11 #159954
amd64

00:02:28

passed server-debian-10 #159953
amd64

00:02:48

passed server-debian-11 #159955
amd64

00:04:59

 
  Analyze
passed bandit-sast #159956
amd64-dind

00:00:53

passed black #159959
amd64

00:00:49

passed code_quality #159960
amd64

00:00:21

passed codespell #159965
amd64

00:00:19

passed coverage #159961
amd64

00:06:43

60.97%
passed dockerfiles #159962
amd64

00:00:17

passed eslint-sast #159957
amd64-dind

00:00:27

passed pylint #159964
amd64

00:02:35

passed schemas #159963
amd64

00:00:33

passed semgrep-sast #159958
amd64-dind

00:00:53

 
  Build
passed debian/10 #159967
amd64

00:01:42

passed debian/11 #159968
amd64

00:01:41

passed doc #159966
amd64

00:00:40

passed docker-amd64-dispatcher #159969
amd64-dind

00:04:23

passed docker-amd64-server #159970
amd64-dind

00:04:47