<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def flatten(self, obj):
 """Return a list with the field values """

        return [self._serialize(f, obj) for f in self.fields]