docs: def json_2_container(json_obj):
          """
          transform json from Ariane server to local object
          :param json_obj: json from Ariane Server
          :return: transformed container
          """
          LOGGER.debug("Container.json_2_container")
          if MappingService.driver_type != DriverFactory.DRIVER_REST:
              if 'containerProperties' in json_obj:
                  properties = DriverTools.json2properties(json_obj['containerProperties'])
              else:
                  properties = None
          else:
              properties = json_obj['containerProperties'] if 'containerProperties' in json_obj else None
  
          return Container(
              cid=json_obj['containerID'],
              name=json_obj['containerName'],
              gate_uri=json_obj['containerGateURI'],
              primary_admin_gate_id=json_obj['containerPrimaryAdminGateID'],
              cluster_id=json_obj['containerClusterID'] if 'containerClusterID' in json_obj else None,
              parent_container_id=json_obj['containerParentContainerID'] if 'containerParentContainerID' is json_obj else
              None,
              child_containers_id=json_obj['containerChildContainersID'],
              gates_id=json_obj['containerGatesID'],
              nodes_id=json_obj['containerNodesID'],
              company=json_obj['containerCompany'],
              product=json_obj['containerProduct'],
              c_type=json_obj['containerType'],
              properties=properties,
              ignore_sync=True
          )