Make test_generate_files() fail with a Unicode context var key.
Always utf-8 - partial checkin (test still fails)
Test passes, but still not fully working.
json.loads with utf-8 encoding.
Don't do .encode('utf-8') on already unicode string in py3 test.