[Server][FaceRest] Add a new class: HostgroupJsonArray

Purpose of this function return an array of Hostgroup ID.