<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def as_list(self):
 """Return all child objects in nested lists of strings."""

        return [self.name, self.value, [x.as_list for x in self.children]]