Fix Nil deserialization

Override getDefaultSerializer to ensure that modules are serialized with the ObjectSerializer even if a different default serializer covers the  type. This fixes issues with equality between Nil and Kryo deserialized Nil.

Fixes #37