I guess name and group can be retrieved by splitting the job name on '-'. For example,
"mochitest-2" => group:mochitest, name:2