callback function now parses JSON if 2 levels deep, renders rows and first column of cells