WorkRestHandler: fix missing serialization inside detail()
WorkRestHandler: fix missing serialization inside detail()

Fixes: 65443e469543 ("WorkRestHandler: new class")
Signed-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>

BeeeOn/server,BeeeOn/server,BeeeOn/server,BeeeOn/server