Use durationinseconds tag if present to prevent mistakes in guessing the
time unit used in the runtimes tag.