SerializerPojo: workaround for ObjectInputStream calling  Class.forName()

Credit: Adam Warski