def json_filter(self):
return lambda obj: dict((k, v) for k, v in obj.__dict__.items()<EOL>if not k.startswith('<STR_LIT:_>') and getattr(obj, k) is not None)<EOL>
filter out properties that have names starting with _
or properties that have a value of None