Creates an API object of class `cls`, setting its `_data` to
    data. Subclasses of `Object` are required to use this to build a
    new, empty instance without using their constructor.

def make_object(cls, data):
    """Creates an API object of class `cls`, setting its `_data` to
    data. Subclasses of `Object` are required to use this to build a
    new, empty instance without using their constructor.
    """
    if issubclass(cls, Object):
        self = object.__new__(cls)
        self._data = data
    else:
        self = data
    return self