code: String asJson( WebSocketMessage message ) {
  
  		String result = null;
  		try {
  			ObjectMapper mapper = JSonBindingUtils.createObjectMapper();
  			StringWriter writer = new StringWriter();
  			mapper.writeValue( writer, message );
  			result = writer.toString();
  
  		} catch( IOException e ) {
  			this.logger.severe( "A notification could not be prepared. It will not be sent. " + e.getMessage());
  			Utils.logException( this.logger, e );
  		}
  
  		return result;
  	}
docs: Creates a JSon/string representation from an object.
  @param message a web socket message
  @return a non-null string