Format issue with deserialization example resolved.

Avoid use of String for storing serialized object byte data. In Java 1.6
there might be a disconnect in encoding/decoding formats between String
and ByteArrayOutputStream.
Merge branch 'issue13' into develop