code: def get_prep_value(self, value):
          
  
          if value == "":
              return None
  
          if isinstance(value, dict):
              value = json.dumps(value, cls=DjangoJSONEncoder)
  
          return value
docs: Convert our JSON object to a string before we save