Only set JSON precision after first writing the grid