Fixed serialization problem when maps are used to transfer DataSerializable objects