updates

json format change for AI
AI changes to handle new format