added TaskObject that encpasulates the task json