code: @SuppressWarnings("unchecked")
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
          stream.defaultReadObject();
          this.properties = (Map<Object, Object>) stream.readObject();
      }
docs: Override the Serializable method.
  
  @param stream
  @throws IOException
  @throws ClassNotFoundException