docs: def _convert_json_response_to_tables(response):
      ''' Converts the response to tables class.
      '''
      if response is None:
          return response
  
      tables = _list()
  
      continuation = _get_continuation_from_response_headers(response)
      tables.next_marker = continuation.get('NextTableName')
  
      root = loads(response.body.decode('utf-8'))
  
      if 'TableName' in root:
          table = Table()
          table.name = root['TableName']
          tables.append(table)
      else:
          for element in root['value']:
              table = Table()
              table.name = element['TableName']
              tables.append(table)
  
      return tables