Patch for 'NoMethodError: undefined method closed? for Hash'

Altiscale rest-client patch related to '[]' valid json return.
For example, fetchall groups if we do not have any group.