code: public String serialize() {
          JaxbJsonSerializer<CreateSnapshotBridgeParameters> serializer =
              new JaxbJsonSerializer<>(CreateSnapshotBridgeParameters.class);
          try {
              return serializer.serialize(this);
          } catch (IOException e) {
              throw new SnapshotDataException(
                  "Unable to create task result due to: " + e.getMessage());
          }
      }
docs: Creates a serialized version of bridge parameters
  
  @return JSON formatted bridge info