@staticmethod<EOL><INDENT>def _to_key(d):<DEDENT>
as_str = json.dumps(d, sort_keys=True)<EOL>return as_str.replace('<STR_LIT>', '<STR_LIT>').replace('<STR_LIT>', '<STR_LIT>')<EOL>
Convert dict to str and enable Jinja2 template syntax.