Delete task method in example now returns valid json