def for_json(self):
if self.multiselect:<EOL><INDENT>return super(MultiSelectField, self).for_json()<EOL><DEDENT>value = self.get_python()<EOL>if hasattr(value, '<STR_LIT>'):<EOL><INDENT>return value.for_json()<EOL><DEDENT>return value<EOL>
Handle multi-select vs single-select