Updated JSON format to include tag groups