Avoid NPE in REST api deserialisation

- motivated by NPE in TaskSummary<init> for tags
Oops, this line wasn't supposed to be in there! I just added it for a quick manual test. I will remove it.