fixed json parsing of table response