additional serialize/deserialize method versions

added serialize/deserialize method versions that use ObjectOutputStream