Added way to store grid as JSON
Currently dependencies are messed