<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def serialize_to_list(self, name, datas):
 """ Serialize given datas to a list structure. List structure is very simple and only require a variable ``--items`` which is a string of values separated with an empty space. Every other properties are ignored. Arguments: name (string):
 Name only used inside possible exception message. datas (dict):
 Datas to serialize. Returns: list: List of serialized reference datas. """

        items = datas.get('items', None)
        splitter = datas.get('splitter', self._DEFAULT_SPLITTER)

        if items is None:
            msg = ("List reference '{}' lacks of required 'items' variable "
                   "or is empty")
            raise SerializerError(msg.format(name))
        else:
            items = self.value_splitter(name, 'items', items, mode=splitter)

        return items