Moved helper json classes to task uses it.
Use group name instead of group ID.