<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def json_data(self, name, default=None):
 """Get a JSON compatible value of the field """

        value = self.get(name)
        if value is Missing.Value:
            return default
        return value