Return a JSON string representation of a Python data structure, o. For example:
encode(o)
>>> json.JSONEncoder().encode({"foo": ["bar", "baz"]}) '{"foo": ["bar", "baz"]}'