Revert "Only set JSON precision after first writing the grid"

This reverts commit 487d4dea42eba311b6d2b935df495999bb4d7bbd.
Update JSON data with lower precision (4 decimal place)