Added unserialized parent references for Task and Stage