Bugfix - if the group has not been set on a task do not add it to json serializing
Bugfix - if the group has not been set on a task do not add it to json serializing