Exposed static serialize and deserialize methods