public String toJsonString(Object object) {
    return String.valueOf(toJson(object));
  }
@Test
  public void testJsonString() {
    String output = _obfuscator.toJsonString("{\"key\":\"VALUE\",\"my.secret\":\"SECRET\"}");
    Assert.assertTrue(output.contains(VALUE));
    Assert.assertFalse(output.contains(SECRET));
  }