Cant get only groups:
20: Sending: {"params": {}, "jsonrpc": "2.0", "method": "hostgroup.get", "auth": "", "id": 1}
10: Response Body: {u'jsonrpc': u'2.0', u'result': [
,
{u'groupid': u'2'},
{u'groupid': u'4'},
{u'groupid': u'5'},
{u'groupid': u'6'}], u'id': 1}
20: Sending: {"params": {"options":
, "format": "xml"}, "jsonrpc": "2.0", "method": "configuration.export", "auth": "", "id": 2}
10: Response Body: