Fix writeDataToLocalStorage() to use MoveSet#toJson()