title: Remove backslashes from response entity Json in Java
body: <p>I am testing my Rest controller and when i print the results in java they seem to be okay but on swagger or postman it return slashes. How do i remove these.</p>
  
  <p>In Java i print the object with a log and the result is as below:</p>
  
  <p>ReturnObject`</p>
  
  <pre><code>{
    create=Create{
      create={
        "Apartment": "Flat",
        "Drink": {
          "Alchol": {
            "Beer": {
              "Dutch": "Groeshe",
              "Zimbo": "Zambezi"
            },
            "Wine": "pocupine"
          },
          "NonAlcoholic": {
            "fizzy": "Coke",
            "juice": "liquifruit"
          }
        },
        "fruit": "Apple",
        "size": "Large",
        "color": "Red",
        "Proffesion": [
          "Java",
          "Lawyer"
        ],
        "cars": {
          "type": "BMW",
          "Color": "Brown"
        }
      }
    },
    update=null,
    delete=null
  }
  </code></pre>
  
  <p>I googled and nothing in java seems to solve this problem. Please assist</p>
  
  <pre><code>@RestController
  public class ProcessController&lt;T extends Serializable&gt; {
  
  
  @Autowired
  private EngineImpl engine;
  
  
  @RequestMapping(value = "/api/processEngine", method = RequestMethod.POST, produces = "application/json")
  public ResponseEntity&lt;ReturnObject&lt;T&gt;&gt; processEngine(@RequestBody final Request request) throws Exception {
  
      ReturnObject&lt;T&gt; response = engine.calculate((T) request.getA(), (T) request.getB());
  
      LOG.info("ReturnObject engine response parameters: " + response);
      //Prints: ReturnObject{create=Create{create={"Apartment":"Flat","Drink":{"Alchol":{"Beer":{"Dutch":"Groeshe","Zimbo":"Zambezi"},"Wine":"pocupine"},"NonAlcoholic":{"fizzy":"Coke","juice":"liquifruit"}},"fruit":"Apple","size":"Large","color":"Red","Proffesion":["Java","Lawyer"],"cars":{"type":"BMW","Color":"Brown"}}}, update=null, delete=null}
      return new ResponseEntity&lt;&gt;(response, HttpStatus.OK);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Expected: </p>
  
  <pre><code>{
    "create": {
      "create": {
          "Apartment": "Flat",
          "Drink": {
              "Alchol": {
                  "Beer": {
                      "Dutch": "Groeshe",
                      "Zimbo": "Zambezi"
  
                  },
                  "Wine": "pocupine"
  
              },
              "NonAlcoholic": {
                  "fizzy": "Coke",
                  "juice": "liquifruit"
              }
          },
          "fruit": "Apple",
          "size": "Large",
          "color": "Red",
          "Proffesion": ["Java", "Lawyer"],
          "cars": {
              "type": "BMW",
              "Color": "Brown"
          }
      },
      "update": null,
      "delete": null
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Actual:</p>
  
  <pre><code>{
    "create": {
      "create": "{\"Apartment\":\"Flat\",\"Drink\":{\"Alchol\":{\"Beer\":{\"Dutch\":\"Groeshe\",\"Zimbo\":\"Zambezi\"},\"Wine\":\"pocupine\"},\"NonAlcoholic\":{\"fizzy\":\"Coke\",\"juice\":\"liquifruit\"}},\"fruit\":\"Apple\",\"size\":\"Large\",\"color\":\"Red\",\"Proffesion\":[\"Java\",\"Lawyer\"],\"cars\":{\"type\":\"BMW\",\"Color\":\"Brown\"}}"
    },
    "update": null,
    "delete": null
  }
  </code></pre>