GUI: use assign/remove method handling lists

- JsonUtils, added toList() method, which will return
  ArrayList<T> of required type from single object.
- Added call to assign and remove groups on resources.
- Use new methods on tabs, removed old methods handling
  single group-resource combination.