Fixed #3766 - API v2 response format changed

New API v2 brings new formats for responses. This update alow hammer to handle both the old and new style API responses. 
Make sure the https://github.com/theforeman/hammer-cli/pull/58 is merged first