<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_representation(self, value):
 """ List of object instances -> List of dicts of primitive datatypes. """

        return {
            six.text_type(key): self.child.to_representation(val)
            for key, val in value.items()
        }