Instead of manually serializing this, you can use Jackson's ObjectMapper which we are already using elsewhere in the admin for RuleBuilders:

```java
ObjectMapper mapper = new ObjectMapper();
String jsonResponse = mapper.writeValueAsString(responseMap);
model.addAttribute("responseJson", jsonResponse);
```