json export in grid, thanks Alan