'List of object instances -> List of dicts of primitive datatypes.'

def to_representation(self, data):

    iterable = (data.all() if isinstance(data, models.Manager) else data)
    return [self.child.to_representation(item) for item in iterable]
