First shot at generating json for grid.