class Singer {

    public synchronized void writeRecord(final String stream, final JsonObject record) {
        final JsonObject json = builderFactory
                .createObjectBuilder()
                .add("type", "RECORD")
                .add("stream", requireNonNull(stream, "stream can't be null"))
                .add("time_extracted", formatDate(dateTimeSupplier.get()))
                .add("record", record)
                .build();
        runIo.getStdout().println(json);
    }

    public  Singer();

}