Better implementation of tasks handling in Job object

Webui serialization is smarter and now uses annotations to exclude fields.