public IActionResult GetSurvivalInventory() { var inv = InventoryUtils.ReadInventory(User.FindFirstValue(ClaimTypes.NameIdentifier)); var jsonstring = JsonConvert.SerializeObject(inv); return(Content(jsonstring, "application/json")); }