flatten method for resource groups (and resources)

1 job from master in 45 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #347
build

00:45