Serialize and deserialize ships to json save file