### ``convertGroupOrFieldArrayForQueryParams(arr)``
Converts array ``arr`` of groups or fields into the format used by RPM API. ``arr`` can be a array of Strings or objects with text and attrs properties.
- `arr` `<Array>`

```js
pvh.convertGroupOrFieldArrayForQueryParams(['Opportunities_name']);
```