remove serialziation code from tilecook classes