this.apiKey = apiKey;
this.apiSecret = apiSecret;
serverProperties.setProperty("inputFormat", "serialized");
serverProperties.setProperty("outputFormat", "serialized");
serverProperties.setProperty("inputSerializer", ProtobufAnnotationSerializer.class.getName());
<BUG>serverProperties.setProperty("outputSerializer", ProtobufAnnotationSerializer.class.getName());
List<String> jsonProperties = new ArrayList<>();
for (String key : serverProperties.stringPropertyNames()) {
jsonProperties.add('"' + JSONOutputter.cleanJSON(key) + "\": \"" +
JSONOutputter.cleanJSON(serverProperties.getProperty(key)) + '"');
}
this.propsAsJSON = "{ " + StringUtils.join(jsonProperties, ", ") + " }";</BUG>
this.scheduler.start();

this.apiKey = apiKey;
this.apiSecret = apiSecret;
serverProperties.setProperty("inputFormat", "serialized");
serverProperties.setProperty("outputFormat", "serialized");
serverProperties.setProperty("inputSerializer", ProtobufAnnotationSerializer.class.getName());
serverProperties.setProperty("outputSerializer", ProtobufAnnotationSerializer.class.getName());
List<String> jsonProperties = serverProperties.stringPropertyNames().stream().map(key -> '"' + JSONOutputter.cleanJSON(key) + "\": \"" +
JSONOutputter
.cleanJSON(serverProperties.getProperty(key)) + '"')
.collect(Collectors.toList());
this.propsAsJSON = "{ " + StringUtils.join(jsonProperties, ", ") + " }";
this.scheduler.start();
