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