static String propertiesToString(Properties props) {
    if (props == null || props.isEmpty()) {
      return "";
    }
    ObjectMapper mapper = new ObjectMapper();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    try {
      mapper.writeValue(baos, props);
    } catch (IOException e) {
      return e.getMessage();
    }
    return baos.toString();
  }
@return A json format of the properties, or the empty string if the properties are empty.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/ListAsyncEventQueuesCommand.java