Spin library not preserving whitespace

try following in java camunda 7.x testing →

  1. String bodyStr = “{"content":
    "Internal Server Error"}”;
  2. JacksonJsonNode body = Spin.S(bodyStr);
    the body’s content strips all spaces and when u get it back its a different content.
    its headache in testing. is there a way to preserve whitespace in Spin?
    is there a SPIN flag ? or i need to encode the content ?

rajans