convert Pokemon game to valid JSON