Implement jsondict (dict) support in mock factory for game tests.