package com.hubspot.jinjava.objects;

public class SafeString {
  private final String value;

  public SafeString(String value) {
    this.value = value;
  }

  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return value;
  }
}

@@ -31,16 +31,68 @@
 jects;%0A%0A
+import com.fasterxml.jackson.annotation.JsonValue;%0A%0A
 public c
@@ -205,16 +205,29 @@
 e;%0A  %7D%0A%0A
+  @JsonValue%0A
   public

Use @JsonValue to not wrap SafeString when serializing