<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def value_from_object(self, obj):
 """Return value dumped to string."""

        val = super(JSONField, self).value_from_object(obj)
        return self.get_prep_value(val)