rhqapi.js: refactor ResGroup.*Operation not to accept 10 params, but 1 object