Cjamged tje serialize/deserialize functions for Player