Convert HTTPS response to JSON and return
Convert HTTPS response to JSON and return

Changes:
    - This is needed for test caller to be able to access to JSON
      data from login session.

Example of the response:
{
   '@odata.id': '/redfish/v1/SessionService/Sessions/ZZNZ3SYN0i',
   '@odata.type': '#Session.v1_0_2.Session',
   'Description': 'Manager User Session',
   'Id': 'ZZNZ3SYN0i',
   'Name': 'User Session',
   'Oem': {
       'OpenBMC': {
           '@odata.type': '#OemSession.v1_0_0.Session',
           'ClientID': '123456',
           'ClientOriginIP': '::ffff:xx.xx.xx.xx'
        }
   },
   'UserName': 'root'
}

Tested:
    By adding a piece of test code as
    ${resp}=  Redfish Login  kwargs= "Oem":{"OpenBMC" : {"ClientID":"123456"}}
    Log To Console   \n Session ID: ${resp["Id"]}
    ${resp}=  Redfish Login
    Log To Console   \n Session ID: ${resp["Id"]}

Output:
   Session ID: RNUnVGoyIF
   Session ID: ipDXBgxDjg

Change-Id: I14ce07287ba3c30761e1c8f1a28c34a74d87e9c7
Signed-off-by: George Keishing <bef0a9ecac45fb57611777c8270153994e13fd2e@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation