def get(self):
personalization = {}<EOL>for key in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>value = getattr(self, key)<EOL>if value:<EOL><INDENT>personalization[key[:-<NUM_LIT:1>]] = value<EOL><DEDENT><DEDENT>for key in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>value = getattr(self, key)<EOL>if value:<EOL><INDENT>personalization[key] = value<EOL><DEDENT><DEDENT>for prop_name in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>prop = getattr(self, prop_name)<EOL>if prop:<EOL><INDENT>obj = {}<EOL>for key in prop:<EOL><INDENT>obj.update(key)<EOL>personalization[prop_name] = obj<EOL><DEDENT><DEDENT><DEDENT>return personalization<EOL>
Get a JSON-ready representation of this Personalization.

:returns: This Personalization, ready for use in a request body.
:rtype: dict