Serializes the given object using Java's default object serialization and wraps the serialized object in a NSData object. @param o The object to serialize and wrap. @return A NSData object @throws RuntimeException When the object could not be serialized.
(Object o)