DTO null protection, mapping association in TaskTemplate to Tasks