def convert_context_to_json(self, context):
return json.dumps(context)<EOL>
Convert the context dictionary into a JSON object.

If your context has complex Django objects, you need to override this
method and make sure that the context gets transformed into something
that ``json.dumps`` can handle.