Use gobs instead of json for saving the data